1 /**
2  * @file    aeskeys_revb_regs.h
3  * @brief   Registers, Bit Masks and Bit Positions for the AESKEYS_REVB 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_PERIPHDRIVERS_SOURCE_AESKEYS_AESKEYS_REVB_REGS_H_
28 #define LIBRARIES_PERIPHDRIVERS_SOURCE_AESKEYS_AESKEYS_REVB_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     aeskeys_revb
66  * @defgroup    aeskeys_revb_registers AESKEYS_REVB_Registers
67  * @brief       Registers, Bit Masks and Bit Positions for the AESKEYS_REVB Peripheral Module.
68  * @details     AES Key Registers.
69  */
70 
71 /**
72  * @ingroup aeskeys_revb_registers
73  * Structure type to access the AESKEYS_REVB Registers.
74  */
75 typedef struct {
76     __IO uint32_t key0;                 /**< <tt>\b 0x00:</tt> AESKEYS_REVB KEY0 Register */
77     __IO uint32_t key1;                 /**< <tt>\b 0x04:</tt> AESKEYS_REVB KEY1 Register */
78     __IO uint32_t key2;                 /**< <tt>\b 0x08:</tt> AESKEYS_REVB KEY2 Register */
79     __IO uint32_t key3;                 /**< <tt>\b 0x0C:</tt> AESKEYS_REVB KEY3 Register */
80     __IO uint32_t key4;                 /**< <tt>\b 0x10:</tt> AESKEYS_REVB KEY4 Register */
81     __IO uint32_t key5;                 /**< <tt>\b 0x14:</tt> AESKEYS_REVB KEY5 Register */
82     __IO uint32_t key6;                 /**< <tt>\b 0x18:</tt> AESKEYS_REVB KEY6 Register */
83     __IO uint32_t key7;                 /**< <tt>\b 0x1C:</tt> AESKEYS_REVB KEY7 Register */
84 } mxc_aeskeys_revb_regs_t;
85 
86 /* Register offsets for module AESKEYS_REVB */
87 /**
88  * @ingroup    aeskeys_revb_registers
89  * @defgroup   AESKEYS_REVB_Register_Offsets Register Offsets
90  * @brief      AESKEYS_REVB Peripheral Register Offsets from the AESKEYS_REVB Base Peripheral Address.
91  * @{
92  */
93 #define MXC_R_AESKEYS_REVB_KEY0            ((uint32_t)0x00000000UL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x0000</tt> */
94 #define MXC_R_AESKEYS_REVB_KEY1            ((uint32_t)0x00000004UL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x0004</tt> */
95 #define MXC_R_AESKEYS_REVB_KEY2            ((uint32_t)0x00000008UL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x0008</tt> */
96 #define MXC_R_AESKEYS_REVB_KEY3            ((uint32_t)0x0000000CUL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x000C</tt> */
97 #define MXC_R_AESKEYS_REVB_KEY4            ((uint32_t)0x00000010UL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x0010</tt> */
98 #define MXC_R_AESKEYS_REVB_KEY5            ((uint32_t)0x00000014UL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x0014</tt> */
99 #define MXC_R_AESKEYS_REVB_KEY6            ((uint32_t)0x00000018UL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x0018</tt> */
100 #define MXC_R_AESKEYS_REVB_KEY7            ((uint32_t)0x0000001CUL) /**< Offset from AESKEYS_REVB Base Address: <tt> 0x001C</tt> */
101 /**@} end of group aeskeys_revb_registers */
102 
103 #ifdef __cplusplus
104 }
105 #endif
106 
107 #endif // LIBRARIES_PERIPHDRIVERS_SOURCE_AESKEYS_AESKEYS_REVB_REGS_H_
108