Newer
Older
mbed-os / targets / TARGET_Maxim / TARGET_MAX32670 / Libraries / PeriphDrivers / Source / AES / aes_key_revb_regs.h
@Sadik.Ozer Sadik.Ozer on 8 Apr 2022 4 KB Add peripheral driver files
/**
 * @file    aes_key_revb_regs.h
 * @brief   Registers, Bit Masks and Bit Positions for the AES_KEY_REVB Peripheral Module.
 */

/* ****************************************************************************
 * Copyright (C) 2022 Maxim Integrated Products, Inc., All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Except as contained in this notice, the name of Maxim Integrated
 * Products, Inc. shall not be used except as stated in the Maxim Integrated
 * Products, Inc. Branding Policy.
 *
 * The mere transfer of this software does not imply any licenses
 * of trade secrets, proprietary technology, copyrights, patents,
 * trademarks, maskwork rights, or any other form of intellectual
 * property whatsoever. Maxim Integrated Products, Inc. retains all
 * ownership rights.
 *
 *
 *************************************************************************** */

#ifndef _AES_KEY_REVB_REGS_H_
#define _AES_KEY_REVB_REGS_H_

/* **** Includes **** */
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif
 
#if defined (__ICCARM__)
  #pragma system_include
#endif
 
#if defined (__CC_ARM)
  #pragma anon_unions
#endif
/// @cond
/*
    If types are not defined elsewhere (CMSIS) define them here
*/
#ifndef __IO
#define __IO volatile
#endif
#ifndef __I
#define __I  volatile const
#endif
#ifndef __O
#define __O  volatile
#endif
#ifndef __R
#define __R  volatile const
#endif
/// @endcond

/* **** Definitions **** */

/**
 * @ingroup     aes_key_revb
 * @defgroup    aes_key_revb_registers AES_KEY_REVB_Registers
 * @brief       Registers, Bit Masks and Bit Positions for the AES_KEY_REVB Peripheral Module.
 * @details AES Key Registers.
 */

/**
 * @ingroup aes_key_revb_registers
 * Structure type to access the AES_KEY_REVB Registers.
 */
typedef struct {
    __IO uint32_t aes_key0;             /**< <tt>\b 0x00:</tt> AES_KEY_REVB AES_KEY0 Register */
    __IO uint32_t aes_key1;             /**< <tt>\b 0x04:</tt> AES_KEY_REVB AES_KEY1 Register */
    __IO uint32_t aes_key2;             /**< <tt>\b 0x08:</tt> AES_KEY_REVB AES_KEY2 Register */
    __IO uint32_t aes_key3;             /**< <tt>\b 0x0C:</tt> AES_KEY_REVB AES_KEY3 Register */
    __IO uint32_t aes_key4;             /**< <tt>\b 0x10:</tt> AES_KEY_REVB AES_KEY4 Register */
    __IO uint32_t aes_key5;             /**< <tt>\b 0x14:</tt> AES_KEY_REVB AES_KEY5 Register */
    __IO uint32_t aes_key6;             /**< <tt>\b 0x18:</tt> AES_KEY_REVB AES_KEY6 Register */
    __IO uint32_t aes_key7;             /**< <tt>\b 0x1C:</tt> AES_KEY_REVB AES_KEY7 Register */
} mxc_aes_key_revb_regs_t;

/* Register offsets for module AES_KEY_REVB */
/**
 * @ingroup    aes_key_revb_registers
 * @defgroup   AES_KEY_REVB_Register_Offsets Register Offsets
 * @brief      AES_KEY_REVB Peripheral Register Offsets from the AES_KEY_REVB Base Peripheral Address. 
 * @{
 */
 #define MXC_R_AES_KEY_REVB_AES_KEY0        ((uint32_t)0x00000000UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0000</tt> */ 
 #define MXC_R_AES_KEY_REVB_AES_KEY1        ((uint32_t)0x00000004UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0004</tt> */ 
 #define MXC_R_AES_KEY_REVB_AES_KEY2        ((uint32_t)0x00000008UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0008</tt> */ 
 #define MXC_R_AES_KEY_REVB_AES_KEY3        ((uint32_t)0x0000000CUL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x000C</tt> */ 
 #define MXC_R_AES_KEY_REVB_AES_KEY4        ((uint32_t)0x00000010UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0010</tt> */ 
 #define MXC_R_AES_KEY_REVB_AES_KEY5        ((uint32_t)0x00000014UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0014</tt> */ 
 #define MXC_R_AES_KEY_REVB_AES_KEY6        ((uint32_t)0x00000018UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0018</tt> */ 
 #define MXC_R_AES_KEY_REVB_AES_KEY7        ((uint32_t)0x0000001CUL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x001C</tt> */ 
/**@} end of group aes_key_revb_registers */

#ifdef __cplusplus
}
#endif

#endif /* _AES_KEY_REVB_REGS_H_ */