1 /** 2 * @file aeskeys_regs.h 3 * @brief Registers, Bit Masks and Bit Positions for the AESKEYS Peripheral Module. 4 * @deprecated aeskeys_regs has been deprecated in favor of @ref sys_aeskeys_registers and @ref usr_aeskeys_registers 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_MAX32672_INCLUDE_AESKEYS_REGS_H_ 28 #define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32672_INCLUDE_AESKEYS_REGS_H_ 29 30 #warning "DEPRECATED(1-10-2023): aeskeys_regs.h - Scheduled for removal. Please use sys_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 aeskeys 68 * @defgroup aeskeys_registers AESKEYS_Registers 69 * @brief Registers, Bit Masks and Bit Positions for the AESKEYS Peripheral Module. 70 * @details AES Key Registers. 71 */ 72 73 /** 74 * @ingroup aeskeys_registers 75 * Structure type to access the AESKEYS Registers. 76 */#if defined(__GNUC__) 77 __attribute__((deprecated("mxc_aeskeys_regs_t struct and aeskeys_regs.h no longer supported. Use sys_aeskeys_regs.h and MXC_SYS_AESKEYS (mxc_sys_aeskeys_regs_t) for AES Key Access. 3-31-2023"))) 78 #else 79 #warning "mxc_aeskeys_regs_t struct and aeskeys_regs.h no longer supported. Use sys_aeskeys_regs.h and MXC_AESKEYS (mxc_sys_aeskeys_regs_t) for AES Key Access. 3-31-2023" 80 #endif 81 typedef struct { 82 __IO uint32_t key0; /**< <tt>\b 0x00:</tt> AESKEYS KEY0 Register */ 83 __IO uint32_t key1; /**< <tt>\b 0x04:</tt> AESKEYS KEY1 Register */ 84 __IO uint32_t key2; /**< <tt>\b 0x08:</tt> AESKEYS KEY2 Register */ 85 __IO uint32_t key3; /**< <tt>\b 0x0C:</tt> AESKEYS KEY3 Register */ 86 __IO uint32_t key4; /**< <tt>\b 0x10:</tt> AESKEYS KEY4 Register */ 87 __IO uint32_t key5; /**< <tt>\b 0x14:</tt> AESKEYS KEY5 Register */ 88 __IO uint32_t key6; /**< <tt>\b 0x18:</tt> AESKEYS KEY6 Register */ 89 __IO uint32_t key7; /**< <tt>\b 0x1C:</tt> AESKEYS KEY7 Register */ 90 } mxc_aeskeys_regs_t; 91 92 /* Register offsets for module AESKEYS */ 93 /** 94 * @ingroup aeskeys_registers 95 * @defgroup AESKEYS_Register_Offsets Register Offsets 96 * @brief AESKEYS Peripheral Register Offsets from the AESKEYS Base Peripheral Address. 97 * @{ 98 */ 99 #define MXC_R_AESKEYS_KEY0 ((uint32_t)0x00000000UL) /**< Offset from AESKEYS Base Address: <tt> 0x0000</tt> */ 100 #define MXC_R_AESKEYS_KEY1 ((uint32_t)0x00000004UL) /**< Offset from AESKEYS Base Address: <tt> 0x0004</tt> */ 101 #define MXC_R_AESKEYS_KEY2 ((uint32_t)0x00000008UL) /**< Offset from AESKEYS Base Address: <tt> 0x0008</tt> */ 102 #define MXC_R_AESKEYS_KEY3 ((uint32_t)0x0000000CUL) /**< Offset from AESKEYS Base Address: <tt> 0x000C</tt> */ 103 #define MXC_R_AESKEYS_KEY4 ((uint32_t)0x00000010UL) /**< Offset from AESKEYS Base Address: <tt> 0x0010</tt> */ 104 #define MXC_R_AESKEYS_KEY5 ((uint32_t)0x00000014UL) /**< Offset from AESKEYS Base Address: <tt> 0x0014</tt> */ 105 #define MXC_R_AESKEYS_KEY6 ((uint32_t)0x00000018UL) /**< Offset from AESKEYS Base Address: <tt> 0x0018</tt> */ 106 #define MXC_R_AESKEYS_KEY7 ((uint32_t)0x0000001CUL) /**< Offset from AESKEYS Base Address: <tt> 0x001C</tt> */ 107 /**@} end of group aeskeys_registers */ 108 109 #ifdef __cplusplus 110 } 111 #endif 112 113 #endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32672_INCLUDE_AESKEYS_REGS_H_ 114