Skip to content

Commit 8a2681b

Browse files
Sadik.OzerSadik.Ozer
authored andcommitted
Add peripheral driver files
Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
1 parent 704bfc7 commit 8a2681b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+9394
-6093
lines changed
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
/**
2+
* @file aes_key_revb_regs.h
3+
* @brief Registers, Bit Masks and Bit Positions for the AES_KEY_REVB Peripheral Module.
4+
*/
5+
6+
/* ****************************************************************************
7+
* Copyright (C) 2022 Maxim Integrated Products, Inc., All Rights Reserved.
8+
*
9+
* Permission is hereby granted, free of charge, to any person obtaining a
10+
* copy of this software and associated documentation files (the "Software"),
11+
* to deal in the Software without restriction, including without limitation
12+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
13+
* and/or sell copies of the Software, and to permit persons to whom the
14+
* Software is furnished to do so, subject to the following conditions:
15+
*
16+
* The above copyright notice and this permission notice shall be included
17+
* in all copies or substantial portions of the Software.
18+
*
19+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22+
* IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
23+
* OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24+
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25+
* OTHER DEALINGS IN THE SOFTWARE.
26+
*
27+
* Except as contained in this notice, the name of Maxim Integrated
28+
* Products, Inc. shall not be used except as stated in the Maxim Integrated
29+
* Products, Inc. Branding Policy.
30+
*
31+
* The mere transfer of this software does not imply any licenses
32+
* of trade secrets, proprietary technology, copyrights, patents,
33+
* trademarks, maskwork rights, or any other form of intellectual
34+
* property whatsoever. Maxim Integrated Products, Inc. retains all
35+
* ownership rights.
36+
*
37+
*
38+
*************************************************************************** */
39+
40+
#ifndef _AES_KEY_REVB_REGS_H_
41+
#define _AES_KEY_REVB_REGS_H_
42+
43+
/* **** Includes **** */
44+
#include <stdint.h>
45+
46+
#ifdef __cplusplus
47+
extern "C" {
48+
#endif
49+
50+
#if defined (__ICCARM__)
51+
#pragma system_include
52+
#endif
53+
54+
#if defined (__CC_ARM)
55+
#pragma anon_unions
56+
#endif
57+
/// @cond
58+
/*
59+
If types are not defined elsewhere (CMSIS) define them here
60+
*/
61+
#ifndef __IO
62+
#define __IO volatile
63+
#endif
64+
#ifndef __I
65+
#define __I volatile const
66+
#endif
67+
#ifndef __O
68+
#define __O volatile
69+
#endif
70+
#ifndef __R
71+
#define __R volatile const
72+
#endif
73+
/// @endcond
74+
75+
/* **** Definitions **** */
76+
77+
/**
78+
* @ingroup aes_key_revb
79+
* @defgroup aes_key_revb_registers AES_KEY_REVB_Registers
80+
* @brief Registers, Bit Masks and Bit Positions for the AES_KEY_REVB Peripheral Module.
81+
* @details AES Key Registers.
82+
*/
83+
84+
/**
85+
* @ingroup aes_key_revb_registers
86+
* Structure type to access the AES_KEY_REVB Registers.
87+
*/
88+
typedef struct {
89+
__IO uint32_t aes_key0; /**< <tt>\b 0x00:</tt> AES_KEY_REVB AES_KEY0 Register */
90+
__IO uint32_t aes_key1; /**< <tt>\b 0x04:</tt> AES_KEY_REVB AES_KEY1 Register */
91+
__IO uint32_t aes_key2; /**< <tt>\b 0x08:</tt> AES_KEY_REVB AES_KEY2 Register */
92+
__IO uint32_t aes_key3; /**< <tt>\b 0x0C:</tt> AES_KEY_REVB AES_KEY3 Register */
93+
__IO uint32_t aes_key4; /**< <tt>\b 0x10:</tt> AES_KEY_REVB AES_KEY4 Register */
94+
__IO uint32_t aes_key5; /**< <tt>\b 0x14:</tt> AES_KEY_REVB AES_KEY5 Register */
95+
__IO uint32_t aes_key6; /**< <tt>\b 0x18:</tt> AES_KEY_REVB AES_KEY6 Register */
96+
__IO uint32_t aes_key7; /**< <tt>\b 0x1C:</tt> AES_KEY_REVB AES_KEY7 Register */
97+
} mxc_aes_key_revb_regs_t;
98+
99+
/* Register offsets for module AES_KEY_REVB */
100+
/**
101+
* @ingroup aes_key_revb_registers
102+
* @defgroup AES_KEY_REVB_Register_Offsets Register Offsets
103+
* @brief AES_KEY_REVB Peripheral Register Offsets from the AES_KEY_REVB Base Peripheral Address.
104+
* @{
105+
*/
106+
#define MXC_R_AES_KEY_REVB_AES_KEY0 ((uint32_t)0x00000000UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0000</tt> */
107+
#define MXC_R_AES_KEY_REVB_AES_KEY1 ((uint32_t)0x00000004UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0004</tt> */
108+
#define MXC_R_AES_KEY_REVB_AES_KEY2 ((uint32_t)0x00000008UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0008</tt> */
109+
#define MXC_R_AES_KEY_REVB_AES_KEY3 ((uint32_t)0x0000000CUL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x000C</tt> */
110+
#define MXC_R_AES_KEY_REVB_AES_KEY4 ((uint32_t)0x00000010UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0010</tt> */
111+
#define MXC_R_AES_KEY_REVB_AES_KEY5 ((uint32_t)0x00000014UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0014</tt> */
112+
#define MXC_R_AES_KEY_REVB_AES_KEY6 ((uint32_t)0x00000018UL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x0018</tt> */
113+
#define MXC_R_AES_KEY_REVB_AES_KEY7 ((uint32_t)0x0000001CUL) /**< Offset from AES_KEY_REVB Base Address: <tt> 0x001C</tt> */
114+
/**@} end of group aes_key_revb_registers */
115+
116+
#ifdef __cplusplus
117+
}
118+
#endif
119+
120+
#endif /* _AES_KEY_REVB_REGS_H_ */

0 commit comments

Comments
 (0)