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_MAX32670_INCLUDE_AES_KEY_REGS_H_ 28 #define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32670_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; /**< <tt>\b 0x00:</tt> AES_KEY AES_KEY0 Register */ 84 __IO uint32_t aes_key1; /**< <tt>\b 0x04:</tt> AES_KEY AES_KEY1 Register */ 85 __IO uint32_t aes_key2; /**< <tt>\b 0x08:</tt> AES_KEY AES_KEY2 Register */ 86 __IO uint32_t aes_key3; /**< <tt>\b 0x0C:</tt> AES_KEY AES_KEY3 Register */ 87 __IO uint32_t aes_key4; /**< <tt>\b 0x10:</tt> AES_KEY AES_KEY4 Register */ 88 __IO uint32_t aes_key5; /**< <tt>\b 0x14:</tt> AES_KEY AES_KEY5 Register */ 89 __IO uint32_t aes_key6; /**< <tt>\b 0x18:</tt> AES_KEY AES_KEY6 Register */ 90 __IO uint32_t aes_key7; /**< <tt>\b 0x1C:</tt> AES_KEY AES_KEY7 Register */ 91 } mxc_aes_key_regs_t; 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)0x00000004UL) /**< Offset from AES_KEY Base Address: <tt> 0x0004</tt> */ 102 #define MXC_R_AES_KEY_AES_KEY2 ((uint32_t)0x00000008UL) /**< Offset from AES_KEY Base Address: <tt> 0x0008</tt> */ 103 #define MXC_R_AES_KEY_AES_KEY3 ((uint32_t)0x0000000CUL) /**< Offset from AES_KEY Base Address: <tt> 0x000C</tt> */ 104 #define MXC_R_AES_KEY_AES_KEY4 ((uint32_t)0x00000010UL) /**< Offset from AES_KEY Base Address: <tt> 0x0010</tt> */ 105 #define MXC_R_AES_KEY_AES_KEY5 ((uint32_t)0x00000014UL) /**< Offset from AES_KEY Base Address: <tt> 0x0014</tt> */ 106 #define MXC_R_AES_KEY_AES_KEY6 ((uint32_t)0x00000018UL) /**< Offset from AES_KEY Base Address: <tt> 0x0018</tt> */ 107 #define MXC_R_AES_KEY_AES_KEY7 ((uint32_t)0x0000001CUL) /**< Offset from AES_KEY Base Address: <tt> 0x001C</tt> */ 108 /**@} end of group aes_key_registers */ 109 110 #ifdef __cplusplus 111 } 112 #endif 113 114 #endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32670_INCLUDE_AES_KEY_REGS_H_ 115