EZR32 Happy Gecko Software Documentation
ezr32hg-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
ezr32hg_aes.h
Go to the documentation of this file.
1
/**************************************************************************/
32
/**************************************************************************/
36
/**************************************************************************/
41
typedef
struct
42
{
43
__IOM uint32_t
CTRL
;
44
__IOM uint32_t
CMD
;
45
__IM uint32_t
STATUS
;
46
__IOM uint32_t
IEN
;
47
__IM uint32_t
IF
;
48
__IOM uint32_t
IFS
;
49
__IOM uint32_t
IFC
;
50
__IOM uint32_t
DATA
;
51
__IOM uint32_t
XORDATA
;
52
uint32_t RESERVED0[3];
53
__IOM uint32_t
KEYLA
;
54
__IOM uint32_t
KEYLB
;
55
__IOM uint32_t
KEYLC
;
56
__IOM uint32_t
KEYLD
;
57
}
AES_TypeDef
;
59
/**************************************************************************/
64
/* Bit fields for AES CTRL */
65
#define _AES_CTRL_RESETVALUE 0x00000000UL
66
#define _AES_CTRL_MASK 0x00000071UL
67
#define AES_CTRL_DECRYPT (0x1UL << 0)
68
#define _AES_CTRL_DECRYPT_SHIFT 0
69
#define _AES_CTRL_DECRYPT_MASK 0x1UL
70
#define _AES_CTRL_DECRYPT_DEFAULT 0x00000000UL
71
#define AES_CTRL_DECRYPT_DEFAULT (_AES_CTRL_DECRYPT_DEFAULT << 0)
72
#define AES_CTRL_DATASTART (0x1UL << 4)
73
#define _AES_CTRL_DATASTART_SHIFT 4
74
#define _AES_CTRL_DATASTART_MASK 0x10UL
75
#define _AES_CTRL_DATASTART_DEFAULT 0x00000000UL
76
#define AES_CTRL_DATASTART_DEFAULT (_AES_CTRL_DATASTART_DEFAULT << 4)
77
#define AES_CTRL_XORSTART (0x1UL << 5)
78
#define _AES_CTRL_XORSTART_SHIFT 5
79
#define _AES_CTRL_XORSTART_MASK 0x20UL
80
#define _AES_CTRL_XORSTART_DEFAULT 0x00000000UL
81
#define AES_CTRL_XORSTART_DEFAULT (_AES_CTRL_XORSTART_DEFAULT << 5)
82
#define AES_CTRL_BYTEORDER (0x1UL << 6)
83
#define _AES_CTRL_BYTEORDER_SHIFT 6
84
#define _AES_CTRL_BYTEORDER_MASK 0x40UL
85
#define _AES_CTRL_BYTEORDER_DEFAULT 0x00000000UL
86
#define AES_CTRL_BYTEORDER_DEFAULT (_AES_CTRL_BYTEORDER_DEFAULT << 6)
88
/* Bit fields for AES CMD */
89
#define _AES_CMD_RESETVALUE 0x00000000UL
90
#define _AES_CMD_MASK 0x00000003UL
91
#define AES_CMD_START (0x1UL << 0)
92
#define _AES_CMD_START_SHIFT 0
93
#define _AES_CMD_START_MASK 0x1UL
94
#define _AES_CMD_START_DEFAULT 0x00000000UL
95
#define AES_CMD_START_DEFAULT (_AES_CMD_START_DEFAULT << 0)
96
#define AES_CMD_STOP (0x1UL << 1)
97
#define _AES_CMD_STOP_SHIFT 1
98
#define _AES_CMD_STOP_MASK 0x2UL
99
#define _AES_CMD_STOP_DEFAULT 0x00000000UL
100
#define AES_CMD_STOP_DEFAULT (_AES_CMD_STOP_DEFAULT << 1)
102
/* Bit fields for AES STATUS */
103
#define _AES_STATUS_RESETVALUE 0x00000000UL
104
#define _AES_STATUS_MASK 0x00000001UL
105
#define AES_STATUS_RUNNING (0x1UL << 0)
106
#define _AES_STATUS_RUNNING_SHIFT 0
107
#define _AES_STATUS_RUNNING_MASK 0x1UL
108
#define _AES_STATUS_RUNNING_DEFAULT 0x00000000UL
109
#define AES_STATUS_RUNNING_DEFAULT (_AES_STATUS_RUNNING_DEFAULT << 0)
111
/* Bit fields for AES IEN */
112
#define _AES_IEN_RESETVALUE 0x00000000UL
113
#define _AES_IEN_MASK 0x00000001UL
114
#define AES_IEN_DONE (0x1UL << 0)
115
#define _AES_IEN_DONE_SHIFT 0
116
#define _AES_IEN_DONE_MASK 0x1UL
117
#define _AES_IEN_DONE_DEFAULT 0x00000000UL
118
#define AES_IEN_DONE_DEFAULT (_AES_IEN_DONE_DEFAULT << 0)
120
/* Bit fields for AES IF */
121
#define _AES_IF_RESETVALUE 0x00000000UL
122
#define _AES_IF_MASK 0x00000001UL
123
#define AES_IF_DONE (0x1UL << 0)
124
#define _AES_IF_DONE_SHIFT 0
125
#define _AES_IF_DONE_MASK 0x1UL
126
#define _AES_IF_DONE_DEFAULT 0x00000000UL
127
#define AES_IF_DONE_DEFAULT (_AES_IF_DONE_DEFAULT << 0)
129
/* Bit fields for AES IFS */
130
#define _AES_IFS_RESETVALUE 0x00000000UL
131
#define _AES_IFS_MASK 0x00000001UL
132
#define AES_IFS_DONE (0x1UL << 0)
133
#define _AES_IFS_DONE_SHIFT 0
134
#define _AES_IFS_DONE_MASK 0x1UL
135
#define _AES_IFS_DONE_DEFAULT 0x00000000UL
136
#define AES_IFS_DONE_DEFAULT (_AES_IFS_DONE_DEFAULT << 0)
138
/* Bit fields for AES IFC */
139
#define _AES_IFC_RESETVALUE 0x00000000UL
140
#define _AES_IFC_MASK 0x00000001UL
141
#define AES_IFC_DONE (0x1UL << 0)
142
#define _AES_IFC_DONE_SHIFT 0
143
#define _AES_IFC_DONE_MASK 0x1UL
144
#define _AES_IFC_DONE_DEFAULT 0x00000000UL
145
#define AES_IFC_DONE_DEFAULT (_AES_IFC_DONE_DEFAULT << 0)
147
/* Bit fields for AES DATA */
148
#define _AES_DATA_RESETVALUE 0x00000000UL
149
#define _AES_DATA_MASK 0xFFFFFFFFUL
150
#define _AES_DATA_DATA_SHIFT 0
151
#define _AES_DATA_DATA_MASK 0xFFFFFFFFUL
152
#define _AES_DATA_DATA_DEFAULT 0x00000000UL
153
#define AES_DATA_DATA_DEFAULT (_AES_DATA_DATA_DEFAULT << 0)
155
/* Bit fields for AES XORDATA */
156
#define _AES_XORDATA_RESETVALUE 0x00000000UL
157
#define _AES_XORDATA_MASK 0xFFFFFFFFUL
158
#define _AES_XORDATA_XORDATA_SHIFT 0
159
#define _AES_XORDATA_XORDATA_MASK 0xFFFFFFFFUL
160
#define _AES_XORDATA_XORDATA_DEFAULT 0x00000000UL
161
#define AES_XORDATA_XORDATA_DEFAULT (_AES_XORDATA_XORDATA_DEFAULT << 0)
163
/* Bit fields for AES KEYLA */
164
#define _AES_KEYLA_RESETVALUE 0x00000000UL
165
#define _AES_KEYLA_MASK 0xFFFFFFFFUL
166
#define _AES_KEYLA_KEYLA_SHIFT 0
167
#define _AES_KEYLA_KEYLA_MASK 0xFFFFFFFFUL
168
#define _AES_KEYLA_KEYLA_DEFAULT 0x00000000UL
169
#define AES_KEYLA_KEYLA_DEFAULT (_AES_KEYLA_KEYLA_DEFAULT << 0)
171
/* Bit fields for AES KEYLB */
172
#define _AES_KEYLB_RESETVALUE 0x00000000UL
173
#define _AES_KEYLB_MASK 0xFFFFFFFFUL
174
#define _AES_KEYLB_KEYLB_SHIFT 0
175
#define _AES_KEYLB_KEYLB_MASK 0xFFFFFFFFUL
176
#define _AES_KEYLB_KEYLB_DEFAULT 0x00000000UL
177
#define AES_KEYLB_KEYLB_DEFAULT (_AES_KEYLB_KEYLB_DEFAULT << 0)
179
/* Bit fields for AES KEYLC */
180
#define _AES_KEYLC_RESETVALUE 0x00000000UL
181
#define _AES_KEYLC_MASK 0xFFFFFFFFUL
182
#define _AES_KEYLC_KEYLC_SHIFT 0
183
#define _AES_KEYLC_KEYLC_MASK 0xFFFFFFFFUL
184
#define _AES_KEYLC_KEYLC_DEFAULT 0x00000000UL
185
#define AES_KEYLC_KEYLC_DEFAULT (_AES_KEYLC_KEYLC_DEFAULT << 0)
187
/* Bit fields for AES KEYLD */
188
#define _AES_KEYLD_RESETVALUE 0x00000000UL
189
#define _AES_KEYLD_MASK 0xFFFFFFFFUL
190
#define _AES_KEYLD_KEYLD_SHIFT 0
191
#define _AES_KEYLD_KEYLD_MASK 0xFFFFFFFFUL
192
#define _AES_KEYLD_KEYLD_DEFAULT 0x00000000UL
193
#define AES_KEYLD_KEYLD_DEFAULT (_AES_KEYLD_KEYLD_DEFAULT << 0)
AES_TypeDef::IFC
__IOM uint32_t IFC
Definition:
ezr32hg_aes.h:49
AES_TypeDef
Definition:
ezr32hg_aes.h:41
AES_TypeDef::KEYLD
__IOM uint32_t KEYLD
Definition:
ezr32hg_aes.h:56
AES_TypeDef::CMD
__IOM uint32_t CMD
Definition:
ezr32hg_aes.h:44
AES_TypeDef::IFS
__IOM uint32_t IFS
Definition:
ezr32hg_aes.h:48
AES_TypeDef::IF
__IM uint32_t IF
Definition:
ezr32hg_aes.h:47
AES_TypeDef::KEYLC
__IOM uint32_t KEYLC
Definition:
ezr32hg_aes.h:55
AES_TypeDef::KEYLA
__IOM uint32_t KEYLA
Definition:
ezr32hg_aes.h:53
AES_TypeDef::DATA
__IOM uint32_t DATA
Definition:
ezr32hg_aes.h:50
AES_TypeDef::IEN
__IOM uint32_t IEN
Definition:
ezr32hg_aes.h:46
AES_TypeDef::KEYLB
__IOM uint32_t KEYLB
Definition:
ezr32hg_aes.h:54
AES_TypeDef::CTRL
__IOM uint32_t CTRL
Definition:
ezr32hg_aes.h:43
AES_TypeDef::XORDATA
__IOM uint32_t XORDATA
Definition:
ezr32hg_aes.h:51
AES_TypeDef::STATUS
__IM uint32_t STATUS
Definition:
ezr32hg_aes.h:45
platform
Device
SiliconLabs
EZR32HG
Include
ezr32hg_aes.h
Generated on Thu Mar 9 2017 20:45:25 for EZR32 Happy Gecko Software Documentation by
1.8.10