1 /** 2 * @file aes_regs.h 3 * @brief Registers, Bit Masks and Bit Positions for the AES Peripheral Module. 4 * @note This file is @generated. 5 */ 6 7 /****************************************************************************** 8 * 9 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by 10 * Analog Devices, Inc.), 11 * Copyright (C) 2023-2024 Analog Devices, Inc. 12 * 13 * Licensed under the Apache License, Version 2.0 (the "License"); 14 * you may not use this file except in compliance with the License. 15 * You may obtain a copy of the License at 16 * 17 * http://www.apache.org/licenses/LICENSE-2.0 18 * 19 * Unless required by applicable law or agreed to in writing, software 20 * distributed under the License is distributed on an "AS IS" BASIS, 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 22 * See the License for the specific language governing permissions and 23 * limitations under the License. 24 * 25 ******************************************************************************/ 26 27 #ifndef LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32570_INCLUDE_AES_REGS_H_ 28 #define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32570_INCLUDE_AES_REGS_H_ 29 30 /* **** Includes **** */ 31 #include <stdint.h> 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 #if defined (__ICCARM__) 38 #pragma system_include 39 #endif 40 41 #if defined (__CC_ARM) 42 #pragma anon_unions 43 #endif 44 /// @cond 45 /* 46 If types are not defined elsewhere (CMSIS) define them here 47 */ 48 #ifndef __IO 49 #define __IO volatile 50 #endif 51 #ifndef __I 52 #define __I volatile const 53 #endif 54 #ifndef __O 55 #define __O volatile 56 #endif 57 #ifndef __R 58 #define __R volatile const 59 #endif 60 /// @endcond 61 62 /* **** Definitions **** */ 63 64 /** 65 * @ingroup aes 66 * @defgroup aes_registers AES_Registers 67 * @brief Registers, Bit Masks and Bit Positions for the AES Peripheral Module. 68 * @details AES Keys. 69 */ 70 71 /** 72 * @ingroup aes_registers 73 * Structure type to access the AES Registers. 74 */ 75 typedef struct { 76 __IO uint32_t aes_sram_key; /**< <tt>\b 0x000:</tt> AES AES_SRAM_KEY Register */ 77 __R uint32_t rsv_0x4_0x7f[31]; 78 __IO uint32_t aes_code_key; /**< <tt>\b 0x080:</tt> AES AES_CODE_KEY Register */ 79 __R uint32_t rsv_0x84_0xff[31]; 80 __IO uint32_t aes_data_key; /**< <tt>\b 0x100:</tt> AES AES_DATA_KEY Register */ 81 } mxc_aes_regs_t; 82 83 /* Register offsets for module AES */ 84 /** 85 * @ingroup aes_registers 86 * @defgroup AES_Register_Offsets Register Offsets 87 * @brief AES Peripheral Register Offsets from the AES Base Peripheral Address. 88 * @{ 89 */ 90 #define MXC_R_AES_AES_SRAM_KEY ((uint32_t)0x00000000UL) /**< Offset from AES Base Address: <tt> 0x0000</tt> */ 91 #define MXC_R_AES_AES_CODE_KEY ((uint32_t)0x00000080UL) /**< Offset from AES Base Address: <tt> 0x0080</tt> */ 92 #define MXC_R_AES_AES_DATA_KEY ((uint32_t)0x00000100UL) /**< Offset from AES Base Address: <tt> 0x0100</tt> */ 93 /**@} end of group aes_registers */ 94 95 #ifdef __cplusplus 96 } 97 #endif 98 99 #endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32570_INCLUDE_AES_REGS_H_ 100