1 /** 2 * @file aes_key_regs.h 3 * @brief Registers, Bit Masks and Bit Positions for the AES_KEY Peripheral Module. 4 * @note This file is @deprecated. 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_MAX32650_INCLUDE_AES_KEY_REGS_H_ 28 #define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32650_INCLUDE_AES_KEY_REGS_H_ 29 30 #warning "DEPRECATED(1-10-2023): aes_key_regs.h - Scheduled for removal. Please use aeskeys_regs.h." 31 32 /* **** Includes **** */ 33 #include <stdint.h> 34 35 #ifdef __cplusplus 36 extern "C" { 37 #endif 38 39 #if defined (__ICCARM__) 40 #pragma system_include 41 #endif 42 43 #if defined (__CC_ARM) 44 #pragma anon_unions 45 #endif 46 /// @cond 47 /* 48 If types are not defined elsewhere (CMSIS) define them here 49 */ 50 #ifndef __IO 51 #define __IO volatile 52 #endif 53 #ifndef __I 54 #define __I volatile const 55 #endif 56 #ifndef __O 57 #define __O volatile 58 #endif 59 #ifndef __R 60 #define __R volatile const 61 #endif 62 /// @endcond 63 64 /* **** Definitions **** */ 65 66 /** 67 * @ingroup aes_key 68 * @defgroup aes_key_registers AES_KEY_Registers 69 * @brief Registers, Bit Masks and Bit Positions for the AES_KEY Peripheral Module. 70 * @details AES Key Registers. 71 */ 72 73 /** 74 * @ingroup aes_key_registers 75 * Structure type to access the AES_KEY Registers. 76 */ 77 #if defined(__GNUC__) 78 __attribute__((deprecated("mxc_aes_key_regs_t struct and aes_key_regs.h no longer supported. Use aeskeys_regs.h and MXC_AESKEYS (mxc_aeskeys_regs_t) for AES Key Access. 1-10-2023"))) 79 #else 80 #warning "mxc_aes_key_regs_t struct and aes_key_regs.h no longer supported. Use aeskeys_regs.h and MXC_AESKEYS (mxc_aeskeys_regs_t) for AES Key Access. 1-10-2023" 81 #endif 82 typedef struct { 83 __IO uint32_t aes_key0[4]; /**< <tt>\b 0x00:</tt> AES_KEY AES_KEY0 Register */ 84 __R uint32_t rsv_0x10_0x1f[4]; 85 __IO uint32_t aes_key1[4]; /**< <tt>\b 0x20:</tt> AES_KEY AES_KEY1 Register */ 86 __R uint32_t rsv_0x30_0xff[52]; 87 __IO uint32_t aes_key2[4]; /**< <tt>\b 0x100:</tt> AES_KEY AES_KEY2 Register */ 88 __R uint32_t rsv_0x110_0x17f[28]; 89 __IO uint32_t aes_key3[4]; /**< <tt>\b 0x180:</tt> AES_KEY AES_KEY3 Register */ 90 } mxc_aes_key_regs_t; 91 92 93 /* Register offsets for module AES_KEY */ 94 /** 95 * @ingroup aes_key_registers 96 * @defgroup AES_KEY_Register_Offsets Register Offsets 97 * @brief AES_KEY Peripheral Register Offsets from the AES_KEY Base Peripheral Address. 98 * @{ 99 */ 100 #define MXC_R_AES_KEY_AES_KEY0 ((uint32_t)0x00000000UL) /**< Offset from AES_KEY Base Address: <tt> 0x0000</tt> */ 101 #define MXC_R_AES_KEY_AES_KEY1 ((uint32_t)0x00000020UL) /**< Offset from AES_KEY Base Address: <tt> 0x0020</tt> */ 102 #define MXC_R_AES_KEY_AES_KEY2 ((uint32_t)0x00000100UL) /**< Offset from AES_KEY Base Address: <tt> 0x0100</tt> */ 103 #define MXC_R_AES_KEY_AES_KEY3 ((uint32_t)0x00000180UL) /**< Offset from AES_KEY Base Address: <tt> 0x0180</tt> */ 104 /**@} end of group aes_key_registers */ 105 106 #ifdef __cplusplus 107 } 108 #endif 109 110 #endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32650_INCLUDE_AES_KEY_REGS_H_ 111