EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
efm32hg_leuart.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 CLKDIV;
47  __IOM uint32_t STARTFRAME;
48  __IOM uint32_t SIGFRAME;
49  __IM uint32_t RXDATAX;
50  __IM uint32_t RXDATA;
51  __IM uint32_t RXDATAXP;
52  __IOM uint32_t TXDATAX;
53  __IOM uint32_t TXDATA;
54  __IM uint32_t IF;
55  __IOM uint32_t IFS;
56  __IOM uint32_t IFC;
57  __IOM uint32_t IEN;
58  __IOM uint32_t PULSECTRL;
60  __IOM uint32_t FREEZE;
61  __IM uint32_t SYNCBUSY;
63  uint32_t RESERVED0[3];
64  __IOM uint32_t ROUTE;
65  uint32_t RESERVED1[21];
66  __IOM uint32_t INPUT;
69 /**************************************************************************/
74 /* Bit fields for LEUART CTRL */
75 #define _LEUART_CTRL_RESETVALUE 0x00000000UL
76 #define _LEUART_CTRL_MASK 0x0000FFFFUL
77 #define LEUART_CTRL_AUTOTRI (0x1UL << 0)
78 #define _LEUART_CTRL_AUTOTRI_SHIFT 0
79 #define _LEUART_CTRL_AUTOTRI_MASK 0x1UL
80 #define _LEUART_CTRL_AUTOTRI_DEFAULT 0x00000000UL
81 #define LEUART_CTRL_AUTOTRI_DEFAULT (_LEUART_CTRL_AUTOTRI_DEFAULT << 0)
82 #define LEUART_CTRL_DATABITS (0x1UL << 1)
83 #define _LEUART_CTRL_DATABITS_SHIFT 1
84 #define _LEUART_CTRL_DATABITS_MASK 0x2UL
85 #define _LEUART_CTRL_DATABITS_DEFAULT 0x00000000UL
86 #define _LEUART_CTRL_DATABITS_EIGHT 0x00000000UL
87 #define _LEUART_CTRL_DATABITS_NINE 0x00000001UL
88 #define LEUART_CTRL_DATABITS_DEFAULT (_LEUART_CTRL_DATABITS_DEFAULT << 1)
89 #define LEUART_CTRL_DATABITS_EIGHT (_LEUART_CTRL_DATABITS_EIGHT << 1)
90 #define LEUART_CTRL_DATABITS_NINE (_LEUART_CTRL_DATABITS_NINE << 1)
91 #define _LEUART_CTRL_PARITY_SHIFT 2
92 #define _LEUART_CTRL_PARITY_MASK 0xCUL
93 #define _LEUART_CTRL_PARITY_DEFAULT 0x00000000UL
94 #define _LEUART_CTRL_PARITY_NONE 0x00000000UL
95 #define _LEUART_CTRL_PARITY_EVEN 0x00000002UL
96 #define _LEUART_CTRL_PARITY_ODD 0x00000003UL
97 #define LEUART_CTRL_PARITY_DEFAULT (_LEUART_CTRL_PARITY_DEFAULT << 2)
98 #define LEUART_CTRL_PARITY_NONE (_LEUART_CTRL_PARITY_NONE << 2)
99 #define LEUART_CTRL_PARITY_EVEN (_LEUART_CTRL_PARITY_EVEN << 2)
100 #define LEUART_CTRL_PARITY_ODD (_LEUART_CTRL_PARITY_ODD << 2)
101 #define LEUART_CTRL_STOPBITS (0x1UL << 4)
102 #define _LEUART_CTRL_STOPBITS_SHIFT 4
103 #define _LEUART_CTRL_STOPBITS_MASK 0x10UL
104 #define _LEUART_CTRL_STOPBITS_DEFAULT 0x00000000UL
105 #define _LEUART_CTRL_STOPBITS_ONE 0x00000000UL
106 #define _LEUART_CTRL_STOPBITS_TWO 0x00000001UL
107 #define LEUART_CTRL_STOPBITS_DEFAULT (_LEUART_CTRL_STOPBITS_DEFAULT << 4)
108 #define LEUART_CTRL_STOPBITS_ONE (_LEUART_CTRL_STOPBITS_ONE << 4)
109 #define LEUART_CTRL_STOPBITS_TWO (_LEUART_CTRL_STOPBITS_TWO << 4)
110 #define LEUART_CTRL_INV (0x1UL << 5)
111 #define _LEUART_CTRL_INV_SHIFT 5
112 #define _LEUART_CTRL_INV_MASK 0x20UL
113 #define _LEUART_CTRL_INV_DEFAULT 0x00000000UL
114 #define LEUART_CTRL_INV_DEFAULT (_LEUART_CTRL_INV_DEFAULT << 5)
115 #define LEUART_CTRL_ERRSDMA (0x1UL << 6)
116 #define _LEUART_CTRL_ERRSDMA_SHIFT 6
117 #define _LEUART_CTRL_ERRSDMA_MASK 0x40UL
118 #define _LEUART_CTRL_ERRSDMA_DEFAULT 0x00000000UL
119 #define LEUART_CTRL_ERRSDMA_DEFAULT (_LEUART_CTRL_ERRSDMA_DEFAULT << 6)
120 #define LEUART_CTRL_LOOPBK (0x1UL << 7)
121 #define _LEUART_CTRL_LOOPBK_SHIFT 7
122 #define _LEUART_CTRL_LOOPBK_MASK 0x80UL
123 #define _LEUART_CTRL_LOOPBK_DEFAULT 0x00000000UL
124 #define LEUART_CTRL_LOOPBK_DEFAULT (_LEUART_CTRL_LOOPBK_DEFAULT << 7)
125 #define LEUART_CTRL_SFUBRX (0x1UL << 8)
126 #define _LEUART_CTRL_SFUBRX_SHIFT 8
127 #define _LEUART_CTRL_SFUBRX_MASK 0x100UL
128 #define _LEUART_CTRL_SFUBRX_DEFAULT 0x00000000UL
129 #define LEUART_CTRL_SFUBRX_DEFAULT (_LEUART_CTRL_SFUBRX_DEFAULT << 8)
130 #define LEUART_CTRL_MPM (0x1UL << 9)
131 #define _LEUART_CTRL_MPM_SHIFT 9
132 #define _LEUART_CTRL_MPM_MASK 0x200UL
133 #define _LEUART_CTRL_MPM_DEFAULT 0x00000000UL
134 #define LEUART_CTRL_MPM_DEFAULT (_LEUART_CTRL_MPM_DEFAULT << 9)
135 #define LEUART_CTRL_MPAB (0x1UL << 10)
136 #define _LEUART_CTRL_MPAB_SHIFT 10
137 #define _LEUART_CTRL_MPAB_MASK 0x400UL
138 #define _LEUART_CTRL_MPAB_DEFAULT 0x00000000UL
139 #define LEUART_CTRL_MPAB_DEFAULT (_LEUART_CTRL_MPAB_DEFAULT << 10)
140 #define LEUART_CTRL_BIT8DV (0x1UL << 11)
141 #define _LEUART_CTRL_BIT8DV_SHIFT 11
142 #define _LEUART_CTRL_BIT8DV_MASK 0x800UL
143 #define _LEUART_CTRL_BIT8DV_DEFAULT 0x00000000UL
144 #define LEUART_CTRL_BIT8DV_DEFAULT (_LEUART_CTRL_BIT8DV_DEFAULT << 11)
145 #define LEUART_CTRL_RXDMAWU (0x1UL << 12)
146 #define _LEUART_CTRL_RXDMAWU_SHIFT 12
147 #define _LEUART_CTRL_RXDMAWU_MASK 0x1000UL
148 #define _LEUART_CTRL_RXDMAWU_DEFAULT 0x00000000UL
149 #define LEUART_CTRL_RXDMAWU_DEFAULT (_LEUART_CTRL_RXDMAWU_DEFAULT << 12)
150 #define LEUART_CTRL_TXDMAWU (0x1UL << 13)
151 #define _LEUART_CTRL_TXDMAWU_SHIFT 13
152 #define _LEUART_CTRL_TXDMAWU_MASK 0x2000UL
153 #define _LEUART_CTRL_TXDMAWU_DEFAULT 0x00000000UL
154 #define LEUART_CTRL_TXDMAWU_DEFAULT (_LEUART_CTRL_TXDMAWU_DEFAULT << 13)
155 #define _LEUART_CTRL_TXDELAY_SHIFT 14
156 #define _LEUART_CTRL_TXDELAY_MASK 0xC000UL
157 #define _LEUART_CTRL_TXDELAY_DEFAULT 0x00000000UL
158 #define _LEUART_CTRL_TXDELAY_NONE 0x00000000UL
159 #define _LEUART_CTRL_TXDELAY_SINGLE 0x00000001UL
160 #define _LEUART_CTRL_TXDELAY_DOUBLE 0x00000002UL
161 #define _LEUART_CTRL_TXDELAY_TRIPLE 0x00000003UL
162 #define LEUART_CTRL_TXDELAY_DEFAULT (_LEUART_CTRL_TXDELAY_DEFAULT << 14)
163 #define LEUART_CTRL_TXDELAY_NONE (_LEUART_CTRL_TXDELAY_NONE << 14)
164 #define LEUART_CTRL_TXDELAY_SINGLE (_LEUART_CTRL_TXDELAY_SINGLE << 14)
165 #define LEUART_CTRL_TXDELAY_DOUBLE (_LEUART_CTRL_TXDELAY_DOUBLE << 14)
166 #define LEUART_CTRL_TXDELAY_TRIPLE (_LEUART_CTRL_TXDELAY_TRIPLE << 14)
168 /* Bit fields for LEUART CMD */
169 #define _LEUART_CMD_RESETVALUE 0x00000000UL
170 #define _LEUART_CMD_MASK 0x000000FFUL
171 #define LEUART_CMD_RXEN (0x1UL << 0)
172 #define _LEUART_CMD_RXEN_SHIFT 0
173 #define _LEUART_CMD_RXEN_MASK 0x1UL
174 #define _LEUART_CMD_RXEN_DEFAULT 0x00000000UL
175 #define LEUART_CMD_RXEN_DEFAULT (_LEUART_CMD_RXEN_DEFAULT << 0)
176 #define LEUART_CMD_RXDIS (0x1UL << 1)
177 #define _LEUART_CMD_RXDIS_SHIFT 1
178 #define _LEUART_CMD_RXDIS_MASK 0x2UL
179 #define _LEUART_CMD_RXDIS_DEFAULT 0x00000000UL
180 #define LEUART_CMD_RXDIS_DEFAULT (_LEUART_CMD_RXDIS_DEFAULT << 1)
181 #define LEUART_CMD_TXEN (0x1UL << 2)
182 #define _LEUART_CMD_TXEN_SHIFT 2
183 #define _LEUART_CMD_TXEN_MASK 0x4UL
184 #define _LEUART_CMD_TXEN_DEFAULT 0x00000000UL
185 #define LEUART_CMD_TXEN_DEFAULT (_LEUART_CMD_TXEN_DEFAULT << 2)
186 #define LEUART_CMD_TXDIS (0x1UL << 3)
187 #define _LEUART_CMD_TXDIS_SHIFT 3
188 #define _LEUART_CMD_TXDIS_MASK 0x8UL
189 #define _LEUART_CMD_TXDIS_DEFAULT 0x00000000UL
190 #define LEUART_CMD_TXDIS_DEFAULT (_LEUART_CMD_TXDIS_DEFAULT << 3)
191 #define LEUART_CMD_RXBLOCKEN (0x1UL << 4)
192 #define _LEUART_CMD_RXBLOCKEN_SHIFT 4
193 #define _LEUART_CMD_RXBLOCKEN_MASK 0x10UL
194 #define _LEUART_CMD_RXBLOCKEN_DEFAULT 0x00000000UL
195 #define LEUART_CMD_RXBLOCKEN_DEFAULT (_LEUART_CMD_RXBLOCKEN_DEFAULT << 4)
196 #define LEUART_CMD_RXBLOCKDIS (0x1UL << 5)
197 #define _LEUART_CMD_RXBLOCKDIS_SHIFT 5
198 #define _LEUART_CMD_RXBLOCKDIS_MASK 0x20UL
199 #define _LEUART_CMD_RXBLOCKDIS_DEFAULT 0x00000000UL
200 #define LEUART_CMD_RXBLOCKDIS_DEFAULT (_LEUART_CMD_RXBLOCKDIS_DEFAULT << 5)
201 #define LEUART_CMD_CLEARTX (0x1UL << 6)
202 #define _LEUART_CMD_CLEARTX_SHIFT 6
203 #define _LEUART_CMD_CLEARTX_MASK 0x40UL
204 #define _LEUART_CMD_CLEARTX_DEFAULT 0x00000000UL
205 #define LEUART_CMD_CLEARTX_DEFAULT (_LEUART_CMD_CLEARTX_DEFAULT << 6)
206 #define LEUART_CMD_CLEARRX (0x1UL << 7)
207 #define _LEUART_CMD_CLEARRX_SHIFT 7
208 #define _LEUART_CMD_CLEARRX_MASK 0x80UL
209 #define _LEUART_CMD_CLEARRX_DEFAULT 0x00000000UL
210 #define LEUART_CMD_CLEARRX_DEFAULT (_LEUART_CMD_CLEARRX_DEFAULT << 7)
212 /* Bit fields for LEUART STATUS */
213 #define _LEUART_STATUS_RESETVALUE 0x00000010UL
214 #define _LEUART_STATUS_MASK 0x0000003FUL
215 #define LEUART_STATUS_RXENS (0x1UL << 0)
216 #define _LEUART_STATUS_RXENS_SHIFT 0
217 #define _LEUART_STATUS_RXENS_MASK 0x1UL
218 #define _LEUART_STATUS_RXENS_DEFAULT 0x00000000UL
219 #define LEUART_STATUS_RXENS_DEFAULT (_LEUART_STATUS_RXENS_DEFAULT << 0)
220 #define LEUART_STATUS_TXENS (0x1UL << 1)
221 #define _LEUART_STATUS_TXENS_SHIFT 1
222 #define _LEUART_STATUS_TXENS_MASK 0x2UL
223 #define _LEUART_STATUS_TXENS_DEFAULT 0x00000000UL
224 #define LEUART_STATUS_TXENS_DEFAULT (_LEUART_STATUS_TXENS_DEFAULT << 1)
225 #define LEUART_STATUS_RXBLOCK (0x1UL << 2)
226 #define _LEUART_STATUS_RXBLOCK_SHIFT 2
227 #define _LEUART_STATUS_RXBLOCK_MASK 0x4UL
228 #define _LEUART_STATUS_RXBLOCK_DEFAULT 0x00000000UL
229 #define LEUART_STATUS_RXBLOCK_DEFAULT (_LEUART_STATUS_RXBLOCK_DEFAULT << 2)
230 #define LEUART_STATUS_TXC (0x1UL << 3)
231 #define _LEUART_STATUS_TXC_SHIFT 3
232 #define _LEUART_STATUS_TXC_MASK 0x8UL
233 #define _LEUART_STATUS_TXC_DEFAULT 0x00000000UL
234 #define LEUART_STATUS_TXC_DEFAULT (_LEUART_STATUS_TXC_DEFAULT << 3)
235 #define LEUART_STATUS_TXBL (0x1UL << 4)
236 #define _LEUART_STATUS_TXBL_SHIFT 4
237 #define _LEUART_STATUS_TXBL_MASK 0x10UL
238 #define _LEUART_STATUS_TXBL_DEFAULT 0x00000001UL
239 #define LEUART_STATUS_TXBL_DEFAULT (_LEUART_STATUS_TXBL_DEFAULT << 4)
240 #define LEUART_STATUS_RXDATAV (0x1UL << 5)
241 #define _LEUART_STATUS_RXDATAV_SHIFT 5
242 #define _LEUART_STATUS_RXDATAV_MASK 0x20UL
243 #define _LEUART_STATUS_RXDATAV_DEFAULT 0x00000000UL
244 #define LEUART_STATUS_RXDATAV_DEFAULT (_LEUART_STATUS_RXDATAV_DEFAULT << 5)
246 /* Bit fields for LEUART CLKDIV */
247 #define _LEUART_CLKDIV_RESETVALUE 0x00000000UL
248 #define _LEUART_CLKDIV_MASK 0x00007FF8UL
249 #define _LEUART_CLKDIV_DIV_SHIFT 3
250 #define _LEUART_CLKDIV_DIV_MASK 0x7FF8UL
251 #define _LEUART_CLKDIV_DIV_DEFAULT 0x00000000UL
252 #define LEUART_CLKDIV_DIV_DEFAULT (_LEUART_CLKDIV_DIV_DEFAULT << 3)
254 /* Bit fields for LEUART STARTFRAME */
255 #define _LEUART_STARTFRAME_RESETVALUE 0x00000000UL
256 #define _LEUART_STARTFRAME_MASK 0x000001FFUL
257 #define _LEUART_STARTFRAME_STARTFRAME_SHIFT 0
258 #define _LEUART_STARTFRAME_STARTFRAME_MASK 0x1FFUL
259 #define _LEUART_STARTFRAME_STARTFRAME_DEFAULT 0x00000000UL
260 #define LEUART_STARTFRAME_STARTFRAME_DEFAULT (_LEUART_STARTFRAME_STARTFRAME_DEFAULT << 0)
262 /* Bit fields for LEUART SIGFRAME */
263 #define _LEUART_SIGFRAME_RESETVALUE 0x00000000UL
264 #define _LEUART_SIGFRAME_MASK 0x000001FFUL
265 #define _LEUART_SIGFRAME_SIGFRAME_SHIFT 0
266 #define _LEUART_SIGFRAME_SIGFRAME_MASK 0x1FFUL
267 #define _LEUART_SIGFRAME_SIGFRAME_DEFAULT 0x00000000UL
268 #define LEUART_SIGFRAME_SIGFRAME_DEFAULT (_LEUART_SIGFRAME_SIGFRAME_DEFAULT << 0)
270 /* Bit fields for LEUART RXDATAX */
271 #define _LEUART_RXDATAX_RESETVALUE 0x00000000UL
272 #define _LEUART_RXDATAX_MASK 0x0000C1FFUL
273 #define _LEUART_RXDATAX_RXDATA_SHIFT 0
274 #define _LEUART_RXDATAX_RXDATA_MASK 0x1FFUL
275 #define _LEUART_RXDATAX_RXDATA_DEFAULT 0x00000000UL
276 #define LEUART_RXDATAX_RXDATA_DEFAULT (_LEUART_RXDATAX_RXDATA_DEFAULT << 0)
277 #define LEUART_RXDATAX_PERR (0x1UL << 14)
278 #define _LEUART_RXDATAX_PERR_SHIFT 14
279 #define _LEUART_RXDATAX_PERR_MASK 0x4000UL
280 #define _LEUART_RXDATAX_PERR_DEFAULT 0x00000000UL
281 #define LEUART_RXDATAX_PERR_DEFAULT (_LEUART_RXDATAX_PERR_DEFAULT << 14)
282 #define LEUART_RXDATAX_FERR (0x1UL << 15)
283 #define _LEUART_RXDATAX_FERR_SHIFT 15
284 #define _LEUART_RXDATAX_FERR_MASK 0x8000UL
285 #define _LEUART_RXDATAX_FERR_DEFAULT 0x00000000UL
286 #define LEUART_RXDATAX_FERR_DEFAULT (_LEUART_RXDATAX_FERR_DEFAULT << 15)
288 /* Bit fields for LEUART RXDATA */
289 #define _LEUART_RXDATA_RESETVALUE 0x00000000UL
290 #define _LEUART_RXDATA_MASK 0x000000FFUL
291 #define _LEUART_RXDATA_RXDATA_SHIFT 0
292 #define _LEUART_RXDATA_RXDATA_MASK 0xFFUL
293 #define _LEUART_RXDATA_RXDATA_DEFAULT 0x00000000UL
294 #define LEUART_RXDATA_RXDATA_DEFAULT (_LEUART_RXDATA_RXDATA_DEFAULT << 0)
296 /* Bit fields for LEUART RXDATAXP */
297 #define _LEUART_RXDATAXP_RESETVALUE 0x00000000UL
298 #define _LEUART_RXDATAXP_MASK 0x0000C1FFUL
299 #define _LEUART_RXDATAXP_RXDATAP_SHIFT 0
300 #define _LEUART_RXDATAXP_RXDATAP_MASK 0x1FFUL
301 #define _LEUART_RXDATAXP_RXDATAP_DEFAULT 0x00000000UL
302 #define LEUART_RXDATAXP_RXDATAP_DEFAULT (_LEUART_RXDATAXP_RXDATAP_DEFAULT << 0)
303 #define LEUART_RXDATAXP_PERRP (0x1UL << 14)
304 #define _LEUART_RXDATAXP_PERRP_SHIFT 14
305 #define _LEUART_RXDATAXP_PERRP_MASK 0x4000UL
306 #define _LEUART_RXDATAXP_PERRP_DEFAULT 0x00000000UL
307 #define LEUART_RXDATAXP_PERRP_DEFAULT (_LEUART_RXDATAXP_PERRP_DEFAULT << 14)
308 #define LEUART_RXDATAXP_FERRP (0x1UL << 15)
309 #define _LEUART_RXDATAXP_FERRP_SHIFT 15
310 #define _LEUART_RXDATAXP_FERRP_MASK 0x8000UL
311 #define _LEUART_RXDATAXP_FERRP_DEFAULT 0x00000000UL
312 #define LEUART_RXDATAXP_FERRP_DEFAULT (_LEUART_RXDATAXP_FERRP_DEFAULT << 15)
314 /* Bit fields for LEUART TXDATAX */
315 #define _LEUART_TXDATAX_RESETVALUE 0x00000000UL
316 #define _LEUART_TXDATAX_MASK 0x0000E1FFUL
317 #define _LEUART_TXDATAX_TXDATA_SHIFT 0
318 #define _LEUART_TXDATAX_TXDATA_MASK 0x1FFUL
319 #define _LEUART_TXDATAX_TXDATA_DEFAULT 0x00000000UL
320 #define LEUART_TXDATAX_TXDATA_DEFAULT (_LEUART_TXDATAX_TXDATA_DEFAULT << 0)
321 #define LEUART_TXDATAX_TXBREAK (0x1UL << 13)
322 #define _LEUART_TXDATAX_TXBREAK_SHIFT 13
323 #define _LEUART_TXDATAX_TXBREAK_MASK 0x2000UL
324 #define _LEUART_TXDATAX_TXBREAK_DEFAULT 0x00000000UL
325 #define LEUART_TXDATAX_TXBREAK_DEFAULT (_LEUART_TXDATAX_TXBREAK_DEFAULT << 13)
326 #define LEUART_TXDATAX_TXDISAT (0x1UL << 14)
327 #define _LEUART_TXDATAX_TXDISAT_SHIFT 14
328 #define _LEUART_TXDATAX_TXDISAT_MASK 0x4000UL
329 #define _LEUART_TXDATAX_TXDISAT_DEFAULT 0x00000000UL
330 #define LEUART_TXDATAX_TXDISAT_DEFAULT (_LEUART_TXDATAX_TXDISAT_DEFAULT << 14)
331 #define LEUART_TXDATAX_RXENAT (0x1UL << 15)
332 #define _LEUART_TXDATAX_RXENAT_SHIFT 15
333 #define _LEUART_TXDATAX_RXENAT_MASK 0x8000UL
334 #define _LEUART_TXDATAX_RXENAT_DEFAULT 0x00000000UL
335 #define LEUART_TXDATAX_RXENAT_DEFAULT (_LEUART_TXDATAX_RXENAT_DEFAULT << 15)
337 /* Bit fields for LEUART TXDATA */
338 #define _LEUART_TXDATA_RESETVALUE 0x00000000UL
339 #define _LEUART_TXDATA_MASK 0x000000FFUL
340 #define _LEUART_TXDATA_TXDATA_SHIFT 0
341 #define _LEUART_TXDATA_TXDATA_MASK 0xFFUL
342 #define _LEUART_TXDATA_TXDATA_DEFAULT 0x00000000UL
343 #define LEUART_TXDATA_TXDATA_DEFAULT (_LEUART_TXDATA_TXDATA_DEFAULT << 0)
345 /* Bit fields for LEUART IF */
346 #define _LEUART_IF_RESETVALUE 0x00000002UL
347 #define _LEUART_IF_MASK 0x000007FFUL
348 #define LEUART_IF_TXC (0x1UL << 0)
349 #define _LEUART_IF_TXC_SHIFT 0
350 #define _LEUART_IF_TXC_MASK 0x1UL
351 #define _LEUART_IF_TXC_DEFAULT 0x00000000UL
352 #define LEUART_IF_TXC_DEFAULT (_LEUART_IF_TXC_DEFAULT << 0)
353 #define LEUART_IF_TXBL (0x1UL << 1)
354 #define _LEUART_IF_TXBL_SHIFT 1
355 #define _LEUART_IF_TXBL_MASK 0x2UL
356 #define _LEUART_IF_TXBL_DEFAULT 0x00000001UL
357 #define LEUART_IF_TXBL_DEFAULT (_LEUART_IF_TXBL_DEFAULT << 1)
358 #define LEUART_IF_RXDATAV (0x1UL << 2)
359 #define _LEUART_IF_RXDATAV_SHIFT 2
360 #define _LEUART_IF_RXDATAV_MASK 0x4UL
361 #define _LEUART_IF_RXDATAV_DEFAULT 0x00000000UL
362 #define LEUART_IF_RXDATAV_DEFAULT (_LEUART_IF_RXDATAV_DEFAULT << 2)
363 #define LEUART_IF_RXOF (0x1UL << 3)
364 #define _LEUART_IF_RXOF_SHIFT 3
365 #define _LEUART_IF_RXOF_MASK 0x8UL
366 #define _LEUART_IF_RXOF_DEFAULT 0x00000000UL
367 #define LEUART_IF_RXOF_DEFAULT (_LEUART_IF_RXOF_DEFAULT << 3)
368 #define LEUART_IF_RXUF (0x1UL << 4)
369 #define _LEUART_IF_RXUF_SHIFT 4
370 #define _LEUART_IF_RXUF_MASK 0x10UL
371 #define _LEUART_IF_RXUF_DEFAULT 0x00000000UL
372 #define LEUART_IF_RXUF_DEFAULT (_LEUART_IF_RXUF_DEFAULT << 4)
373 #define LEUART_IF_TXOF (0x1UL << 5)
374 #define _LEUART_IF_TXOF_SHIFT 5
375 #define _LEUART_IF_TXOF_MASK 0x20UL
376 #define _LEUART_IF_TXOF_DEFAULT 0x00000000UL
377 #define LEUART_IF_TXOF_DEFAULT (_LEUART_IF_TXOF_DEFAULT << 5)
378 #define LEUART_IF_PERR (0x1UL << 6)
379 #define _LEUART_IF_PERR_SHIFT 6
380 #define _LEUART_IF_PERR_MASK 0x40UL
381 #define _LEUART_IF_PERR_DEFAULT 0x00000000UL
382 #define LEUART_IF_PERR_DEFAULT (_LEUART_IF_PERR_DEFAULT << 6)
383 #define LEUART_IF_FERR (0x1UL << 7)
384 #define _LEUART_IF_FERR_SHIFT 7
385 #define _LEUART_IF_FERR_MASK 0x80UL
386 #define _LEUART_IF_FERR_DEFAULT 0x00000000UL
387 #define LEUART_IF_FERR_DEFAULT (_LEUART_IF_FERR_DEFAULT << 7)
388 #define LEUART_IF_MPAF (0x1UL << 8)
389 #define _LEUART_IF_MPAF_SHIFT 8
390 #define _LEUART_IF_MPAF_MASK 0x100UL
391 #define _LEUART_IF_MPAF_DEFAULT 0x00000000UL
392 #define LEUART_IF_MPAF_DEFAULT (_LEUART_IF_MPAF_DEFAULT << 8)
393 #define LEUART_IF_STARTF (0x1UL << 9)
394 #define _LEUART_IF_STARTF_SHIFT 9
395 #define _LEUART_IF_STARTF_MASK 0x200UL
396 #define _LEUART_IF_STARTF_DEFAULT 0x00000000UL
397 #define LEUART_IF_STARTF_DEFAULT (_LEUART_IF_STARTF_DEFAULT << 9)
398 #define LEUART_IF_SIGF (0x1UL << 10)
399 #define _LEUART_IF_SIGF_SHIFT 10
400 #define _LEUART_IF_SIGF_MASK 0x400UL
401 #define _LEUART_IF_SIGF_DEFAULT 0x00000000UL
402 #define LEUART_IF_SIGF_DEFAULT (_LEUART_IF_SIGF_DEFAULT << 10)
404 /* Bit fields for LEUART IFS */
405 #define _LEUART_IFS_RESETVALUE 0x00000000UL
406 #define _LEUART_IFS_MASK 0x000007F9UL
407 #define LEUART_IFS_TXC (0x1UL << 0)
408 #define _LEUART_IFS_TXC_SHIFT 0
409 #define _LEUART_IFS_TXC_MASK 0x1UL
410 #define _LEUART_IFS_TXC_DEFAULT 0x00000000UL
411 #define LEUART_IFS_TXC_DEFAULT (_LEUART_IFS_TXC_DEFAULT << 0)
412 #define LEUART_IFS_RXOF (0x1UL << 3)
413 #define _LEUART_IFS_RXOF_SHIFT 3
414 #define _LEUART_IFS_RXOF_MASK 0x8UL
415 #define _LEUART_IFS_RXOF_DEFAULT 0x00000000UL
416 #define LEUART_IFS_RXOF_DEFAULT (_LEUART_IFS_RXOF_DEFAULT << 3)
417 #define LEUART_IFS_RXUF (0x1UL << 4)
418 #define _LEUART_IFS_RXUF_SHIFT 4
419 #define _LEUART_IFS_RXUF_MASK 0x10UL
420 #define _LEUART_IFS_RXUF_DEFAULT 0x00000000UL
421 #define LEUART_IFS_RXUF_DEFAULT (_LEUART_IFS_RXUF_DEFAULT << 4)
422 #define LEUART_IFS_TXOF (0x1UL << 5)
423 #define _LEUART_IFS_TXOF_SHIFT 5
424 #define _LEUART_IFS_TXOF_MASK 0x20UL
425 #define _LEUART_IFS_TXOF_DEFAULT 0x00000000UL
426 #define LEUART_IFS_TXOF_DEFAULT (_LEUART_IFS_TXOF_DEFAULT << 5)
427 #define LEUART_IFS_PERR (0x1UL << 6)
428 #define _LEUART_IFS_PERR_SHIFT 6
429 #define _LEUART_IFS_PERR_MASK 0x40UL
430 #define _LEUART_IFS_PERR_DEFAULT 0x00000000UL
431 #define LEUART_IFS_PERR_DEFAULT (_LEUART_IFS_PERR_DEFAULT << 6)
432 #define LEUART_IFS_FERR (0x1UL << 7)
433 #define _LEUART_IFS_FERR_SHIFT 7
434 #define _LEUART_IFS_FERR_MASK 0x80UL
435 #define _LEUART_IFS_FERR_DEFAULT 0x00000000UL
436 #define LEUART_IFS_FERR_DEFAULT (_LEUART_IFS_FERR_DEFAULT << 7)
437 #define LEUART_IFS_MPAF (0x1UL << 8)
438 #define _LEUART_IFS_MPAF_SHIFT 8
439 #define _LEUART_IFS_MPAF_MASK 0x100UL
440 #define _LEUART_IFS_MPAF_DEFAULT 0x00000000UL
441 #define LEUART_IFS_MPAF_DEFAULT (_LEUART_IFS_MPAF_DEFAULT << 8)
442 #define LEUART_IFS_STARTF (0x1UL << 9)
443 #define _LEUART_IFS_STARTF_SHIFT 9
444 #define _LEUART_IFS_STARTF_MASK 0x200UL
445 #define _LEUART_IFS_STARTF_DEFAULT 0x00000000UL
446 #define LEUART_IFS_STARTF_DEFAULT (_LEUART_IFS_STARTF_DEFAULT << 9)
447 #define LEUART_IFS_SIGF (0x1UL << 10)
448 #define _LEUART_IFS_SIGF_SHIFT 10
449 #define _LEUART_IFS_SIGF_MASK 0x400UL
450 #define _LEUART_IFS_SIGF_DEFAULT 0x00000000UL
451 #define LEUART_IFS_SIGF_DEFAULT (_LEUART_IFS_SIGF_DEFAULT << 10)
453 /* Bit fields for LEUART IFC */
454 #define _LEUART_IFC_RESETVALUE 0x00000000UL
455 #define _LEUART_IFC_MASK 0x000007F9UL
456 #define LEUART_IFC_TXC (0x1UL << 0)
457 #define _LEUART_IFC_TXC_SHIFT 0
458 #define _LEUART_IFC_TXC_MASK 0x1UL
459 #define _LEUART_IFC_TXC_DEFAULT 0x00000000UL
460 #define LEUART_IFC_TXC_DEFAULT (_LEUART_IFC_TXC_DEFAULT << 0)
461 #define LEUART_IFC_RXOF (0x1UL << 3)
462 #define _LEUART_IFC_RXOF_SHIFT 3
463 #define _LEUART_IFC_RXOF_MASK 0x8UL
464 #define _LEUART_IFC_RXOF_DEFAULT 0x00000000UL
465 #define LEUART_IFC_RXOF_DEFAULT (_LEUART_IFC_RXOF_DEFAULT << 3)
466 #define LEUART_IFC_RXUF (0x1UL << 4)
467 #define _LEUART_IFC_RXUF_SHIFT 4
468 #define _LEUART_IFC_RXUF_MASK 0x10UL
469 #define _LEUART_IFC_RXUF_DEFAULT 0x00000000UL
470 #define LEUART_IFC_RXUF_DEFAULT (_LEUART_IFC_RXUF_DEFAULT << 4)
471 #define LEUART_IFC_TXOF (0x1UL << 5)
472 #define _LEUART_IFC_TXOF_SHIFT 5
473 #define _LEUART_IFC_TXOF_MASK 0x20UL
474 #define _LEUART_IFC_TXOF_DEFAULT 0x00000000UL
475 #define LEUART_IFC_TXOF_DEFAULT (_LEUART_IFC_TXOF_DEFAULT << 5)
476 #define LEUART_IFC_PERR (0x1UL << 6)
477 #define _LEUART_IFC_PERR_SHIFT 6
478 #define _LEUART_IFC_PERR_MASK 0x40UL
479 #define _LEUART_IFC_PERR_DEFAULT 0x00000000UL
480 #define LEUART_IFC_PERR_DEFAULT (_LEUART_IFC_PERR_DEFAULT << 6)
481 #define LEUART_IFC_FERR (0x1UL << 7)
482 #define _LEUART_IFC_FERR_SHIFT 7
483 #define _LEUART_IFC_FERR_MASK 0x80UL
484 #define _LEUART_IFC_FERR_DEFAULT 0x00000000UL
485 #define LEUART_IFC_FERR_DEFAULT (_LEUART_IFC_FERR_DEFAULT << 7)
486 #define LEUART_IFC_MPAF (0x1UL << 8)
487 #define _LEUART_IFC_MPAF_SHIFT 8
488 #define _LEUART_IFC_MPAF_MASK 0x100UL
489 #define _LEUART_IFC_MPAF_DEFAULT 0x00000000UL
490 #define LEUART_IFC_MPAF_DEFAULT (_LEUART_IFC_MPAF_DEFAULT << 8)
491 #define LEUART_IFC_STARTF (0x1UL << 9)
492 #define _LEUART_IFC_STARTF_SHIFT 9
493 #define _LEUART_IFC_STARTF_MASK 0x200UL
494 #define _LEUART_IFC_STARTF_DEFAULT 0x00000000UL
495 #define LEUART_IFC_STARTF_DEFAULT (_LEUART_IFC_STARTF_DEFAULT << 9)
496 #define LEUART_IFC_SIGF (0x1UL << 10)
497 #define _LEUART_IFC_SIGF_SHIFT 10
498 #define _LEUART_IFC_SIGF_MASK 0x400UL
499 #define _LEUART_IFC_SIGF_DEFAULT 0x00000000UL
500 #define LEUART_IFC_SIGF_DEFAULT (_LEUART_IFC_SIGF_DEFAULT << 10)
502 /* Bit fields for LEUART IEN */
503 #define _LEUART_IEN_RESETVALUE 0x00000000UL
504 #define _LEUART_IEN_MASK 0x000007FFUL
505 #define LEUART_IEN_TXC (0x1UL << 0)
506 #define _LEUART_IEN_TXC_SHIFT 0
507 #define _LEUART_IEN_TXC_MASK 0x1UL
508 #define _LEUART_IEN_TXC_DEFAULT 0x00000000UL
509 #define LEUART_IEN_TXC_DEFAULT (_LEUART_IEN_TXC_DEFAULT << 0)
510 #define LEUART_IEN_TXBL (0x1UL << 1)
511 #define _LEUART_IEN_TXBL_SHIFT 1
512 #define _LEUART_IEN_TXBL_MASK 0x2UL
513 #define _LEUART_IEN_TXBL_DEFAULT 0x00000000UL
514 #define LEUART_IEN_TXBL_DEFAULT (_LEUART_IEN_TXBL_DEFAULT << 1)
515 #define LEUART_IEN_RXDATAV (0x1UL << 2)
516 #define _LEUART_IEN_RXDATAV_SHIFT 2
517 #define _LEUART_IEN_RXDATAV_MASK 0x4UL
518 #define _LEUART_IEN_RXDATAV_DEFAULT 0x00000000UL
519 #define LEUART_IEN_RXDATAV_DEFAULT (_LEUART_IEN_RXDATAV_DEFAULT << 2)
520 #define LEUART_IEN_RXOF (0x1UL << 3)
521 #define _LEUART_IEN_RXOF_SHIFT 3
522 #define _LEUART_IEN_RXOF_MASK 0x8UL
523 #define _LEUART_IEN_RXOF_DEFAULT 0x00000000UL
524 #define LEUART_IEN_RXOF_DEFAULT (_LEUART_IEN_RXOF_DEFAULT << 3)
525 #define LEUART_IEN_RXUF (0x1UL << 4)
526 #define _LEUART_IEN_RXUF_SHIFT 4
527 #define _LEUART_IEN_RXUF_MASK 0x10UL
528 #define _LEUART_IEN_RXUF_DEFAULT 0x00000000UL
529 #define LEUART_IEN_RXUF_DEFAULT (_LEUART_IEN_RXUF_DEFAULT << 4)
530 #define LEUART_IEN_TXOF (0x1UL << 5)
531 #define _LEUART_IEN_TXOF_SHIFT 5
532 #define _LEUART_IEN_TXOF_MASK 0x20UL
533 #define _LEUART_IEN_TXOF_DEFAULT 0x00000000UL
534 #define LEUART_IEN_TXOF_DEFAULT (_LEUART_IEN_TXOF_DEFAULT << 5)
535 #define LEUART_IEN_PERR (0x1UL << 6)
536 #define _LEUART_IEN_PERR_SHIFT 6
537 #define _LEUART_IEN_PERR_MASK 0x40UL
538 #define _LEUART_IEN_PERR_DEFAULT 0x00000000UL
539 #define LEUART_IEN_PERR_DEFAULT (_LEUART_IEN_PERR_DEFAULT << 6)
540 #define LEUART_IEN_FERR (0x1UL << 7)
541 #define _LEUART_IEN_FERR_SHIFT 7
542 #define _LEUART_IEN_FERR_MASK 0x80UL
543 #define _LEUART_IEN_FERR_DEFAULT 0x00000000UL
544 #define LEUART_IEN_FERR_DEFAULT (_LEUART_IEN_FERR_DEFAULT << 7)
545 #define LEUART_IEN_MPAF (0x1UL << 8)
546 #define _LEUART_IEN_MPAF_SHIFT 8
547 #define _LEUART_IEN_MPAF_MASK 0x100UL
548 #define _LEUART_IEN_MPAF_DEFAULT 0x00000000UL
549 #define LEUART_IEN_MPAF_DEFAULT (_LEUART_IEN_MPAF_DEFAULT << 8)
550 #define LEUART_IEN_STARTF (0x1UL << 9)
551 #define _LEUART_IEN_STARTF_SHIFT 9
552 #define _LEUART_IEN_STARTF_MASK 0x200UL
553 #define _LEUART_IEN_STARTF_DEFAULT 0x00000000UL
554 #define LEUART_IEN_STARTF_DEFAULT (_LEUART_IEN_STARTF_DEFAULT << 9)
555 #define LEUART_IEN_SIGF (0x1UL << 10)
556 #define _LEUART_IEN_SIGF_SHIFT 10
557 #define _LEUART_IEN_SIGF_MASK 0x400UL
558 #define _LEUART_IEN_SIGF_DEFAULT 0x00000000UL
559 #define LEUART_IEN_SIGF_DEFAULT (_LEUART_IEN_SIGF_DEFAULT << 10)
561 /* Bit fields for LEUART PULSECTRL */
562 #define _LEUART_PULSECTRL_RESETVALUE 0x00000000UL
563 #define _LEUART_PULSECTRL_MASK 0x0000003FUL
564 #define _LEUART_PULSECTRL_PULSEW_SHIFT 0
565 #define _LEUART_PULSECTRL_PULSEW_MASK 0xFUL
566 #define _LEUART_PULSECTRL_PULSEW_DEFAULT 0x00000000UL
567 #define LEUART_PULSECTRL_PULSEW_DEFAULT (_LEUART_PULSECTRL_PULSEW_DEFAULT << 0)
568 #define LEUART_PULSECTRL_PULSEEN (0x1UL << 4)
569 #define _LEUART_PULSECTRL_PULSEEN_SHIFT 4
570 #define _LEUART_PULSECTRL_PULSEEN_MASK 0x10UL
571 #define _LEUART_PULSECTRL_PULSEEN_DEFAULT 0x00000000UL
572 #define LEUART_PULSECTRL_PULSEEN_DEFAULT (_LEUART_PULSECTRL_PULSEEN_DEFAULT << 4)
573 #define LEUART_PULSECTRL_PULSEFILT (0x1UL << 5)
574 #define _LEUART_PULSECTRL_PULSEFILT_SHIFT 5
575 #define _LEUART_PULSECTRL_PULSEFILT_MASK 0x20UL
576 #define _LEUART_PULSECTRL_PULSEFILT_DEFAULT 0x00000000UL
577 #define LEUART_PULSECTRL_PULSEFILT_DEFAULT (_LEUART_PULSECTRL_PULSEFILT_DEFAULT << 5)
579 /* Bit fields for LEUART FREEZE */
580 #define _LEUART_FREEZE_RESETVALUE 0x00000000UL
581 #define _LEUART_FREEZE_MASK 0x00000001UL
582 #define LEUART_FREEZE_REGFREEZE (0x1UL << 0)
583 #define _LEUART_FREEZE_REGFREEZE_SHIFT 0
584 #define _LEUART_FREEZE_REGFREEZE_MASK 0x1UL
585 #define _LEUART_FREEZE_REGFREEZE_DEFAULT 0x00000000UL
586 #define _LEUART_FREEZE_REGFREEZE_UPDATE 0x00000000UL
587 #define _LEUART_FREEZE_REGFREEZE_FREEZE 0x00000001UL
588 #define LEUART_FREEZE_REGFREEZE_DEFAULT (_LEUART_FREEZE_REGFREEZE_DEFAULT << 0)
589 #define LEUART_FREEZE_REGFREEZE_UPDATE (_LEUART_FREEZE_REGFREEZE_UPDATE << 0)
590 #define LEUART_FREEZE_REGFREEZE_FREEZE (_LEUART_FREEZE_REGFREEZE_FREEZE << 0)
592 /* Bit fields for LEUART SYNCBUSY */
593 #define _LEUART_SYNCBUSY_RESETVALUE 0x00000000UL
594 #define _LEUART_SYNCBUSY_MASK 0x000000FFUL
595 #define LEUART_SYNCBUSY_CTRL (0x1UL << 0)
596 #define _LEUART_SYNCBUSY_CTRL_SHIFT 0
597 #define _LEUART_SYNCBUSY_CTRL_MASK 0x1UL
598 #define _LEUART_SYNCBUSY_CTRL_DEFAULT 0x00000000UL
599 #define LEUART_SYNCBUSY_CTRL_DEFAULT (_LEUART_SYNCBUSY_CTRL_DEFAULT << 0)
600 #define LEUART_SYNCBUSY_CMD (0x1UL << 1)
601 #define _LEUART_SYNCBUSY_CMD_SHIFT 1
602 #define _LEUART_SYNCBUSY_CMD_MASK 0x2UL
603 #define _LEUART_SYNCBUSY_CMD_DEFAULT 0x00000000UL
604 #define LEUART_SYNCBUSY_CMD_DEFAULT (_LEUART_SYNCBUSY_CMD_DEFAULT << 1)
605 #define LEUART_SYNCBUSY_CLKDIV (0x1UL << 2)
606 #define _LEUART_SYNCBUSY_CLKDIV_SHIFT 2
607 #define _LEUART_SYNCBUSY_CLKDIV_MASK 0x4UL
608 #define _LEUART_SYNCBUSY_CLKDIV_DEFAULT 0x00000000UL
609 #define LEUART_SYNCBUSY_CLKDIV_DEFAULT (_LEUART_SYNCBUSY_CLKDIV_DEFAULT << 2)
610 #define LEUART_SYNCBUSY_STARTFRAME (0x1UL << 3)
611 #define _LEUART_SYNCBUSY_STARTFRAME_SHIFT 3
612 #define _LEUART_SYNCBUSY_STARTFRAME_MASK 0x8UL
613 #define _LEUART_SYNCBUSY_STARTFRAME_DEFAULT 0x00000000UL
614 #define LEUART_SYNCBUSY_STARTFRAME_DEFAULT (_LEUART_SYNCBUSY_STARTFRAME_DEFAULT << 3)
615 #define LEUART_SYNCBUSY_SIGFRAME (0x1UL << 4)
616 #define _LEUART_SYNCBUSY_SIGFRAME_SHIFT 4
617 #define _LEUART_SYNCBUSY_SIGFRAME_MASK 0x10UL
618 #define _LEUART_SYNCBUSY_SIGFRAME_DEFAULT 0x00000000UL
619 #define LEUART_SYNCBUSY_SIGFRAME_DEFAULT (_LEUART_SYNCBUSY_SIGFRAME_DEFAULT << 4)
620 #define LEUART_SYNCBUSY_TXDATAX (0x1UL << 5)
621 #define _LEUART_SYNCBUSY_TXDATAX_SHIFT 5
622 #define _LEUART_SYNCBUSY_TXDATAX_MASK 0x20UL
623 #define _LEUART_SYNCBUSY_TXDATAX_DEFAULT 0x00000000UL
624 #define LEUART_SYNCBUSY_TXDATAX_DEFAULT (_LEUART_SYNCBUSY_TXDATAX_DEFAULT << 5)
625 #define LEUART_SYNCBUSY_TXDATA (0x1UL << 6)
626 #define _LEUART_SYNCBUSY_TXDATA_SHIFT 6
627 #define _LEUART_SYNCBUSY_TXDATA_MASK 0x40UL
628 #define _LEUART_SYNCBUSY_TXDATA_DEFAULT 0x00000000UL
629 #define LEUART_SYNCBUSY_TXDATA_DEFAULT (_LEUART_SYNCBUSY_TXDATA_DEFAULT << 6)
630 #define LEUART_SYNCBUSY_PULSECTRL (0x1UL << 7)
631 #define _LEUART_SYNCBUSY_PULSECTRL_SHIFT 7
632 #define _LEUART_SYNCBUSY_PULSECTRL_MASK 0x80UL
633 #define _LEUART_SYNCBUSY_PULSECTRL_DEFAULT 0x00000000UL
634 #define LEUART_SYNCBUSY_PULSECTRL_DEFAULT (_LEUART_SYNCBUSY_PULSECTRL_DEFAULT << 7)
636 /* Bit fields for LEUART ROUTE */
637 #define _LEUART_ROUTE_RESETVALUE 0x00000000UL
638 #define _LEUART_ROUTE_MASK 0x00000703UL
639 #define LEUART_ROUTE_RXPEN (0x1UL << 0)
640 #define _LEUART_ROUTE_RXPEN_SHIFT 0
641 #define _LEUART_ROUTE_RXPEN_MASK 0x1UL
642 #define _LEUART_ROUTE_RXPEN_DEFAULT 0x00000000UL
643 #define LEUART_ROUTE_RXPEN_DEFAULT (_LEUART_ROUTE_RXPEN_DEFAULT << 0)
644 #define LEUART_ROUTE_TXPEN (0x1UL << 1)
645 #define _LEUART_ROUTE_TXPEN_SHIFT 1
646 #define _LEUART_ROUTE_TXPEN_MASK 0x2UL
647 #define _LEUART_ROUTE_TXPEN_DEFAULT 0x00000000UL
648 #define LEUART_ROUTE_TXPEN_DEFAULT (_LEUART_ROUTE_TXPEN_DEFAULT << 1)
649 #define _LEUART_ROUTE_LOCATION_SHIFT 8
650 #define _LEUART_ROUTE_LOCATION_MASK 0x700UL
651 #define _LEUART_ROUTE_LOCATION_LOC0 0x00000000UL
652 #define _LEUART_ROUTE_LOCATION_DEFAULT 0x00000000UL
653 #define _LEUART_ROUTE_LOCATION_LOC1 0x00000001UL
654 #define _LEUART_ROUTE_LOCATION_LOC2 0x00000002UL
655 #define _LEUART_ROUTE_LOCATION_LOC3 0x00000003UL
656 #define _LEUART_ROUTE_LOCATION_LOC4 0x00000004UL
657 #define _LEUART_ROUTE_LOCATION_LOC5 0x00000005UL
658 #define LEUART_ROUTE_LOCATION_LOC0 (_LEUART_ROUTE_LOCATION_LOC0 << 8)
659 #define LEUART_ROUTE_LOCATION_DEFAULT (_LEUART_ROUTE_LOCATION_DEFAULT << 8)
660 #define LEUART_ROUTE_LOCATION_LOC1 (_LEUART_ROUTE_LOCATION_LOC1 << 8)
661 #define LEUART_ROUTE_LOCATION_LOC2 (_LEUART_ROUTE_LOCATION_LOC2 << 8)
662 #define LEUART_ROUTE_LOCATION_LOC3 (_LEUART_ROUTE_LOCATION_LOC3 << 8)
663 #define LEUART_ROUTE_LOCATION_LOC4 (_LEUART_ROUTE_LOCATION_LOC4 << 8)
664 #define LEUART_ROUTE_LOCATION_LOC5 (_LEUART_ROUTE_LOCATION_LOC5 << 8)
666 /* Bit fields for LEUART INPUT */
667 #define _LEUART_INPUT_RESETVALUE 0x00000000UL
668 #define _LEUART_INPUT_MASK 0x00000017UL
669 #define _LEUART_INPUT_RXPRSSEL_SHIFT 0
670 #define _LEUART_INPUT_RXPRSSEL_MASK 0x7UL
671 #define _LEUART_INPUT_RXPRSSEL_DEFAULT 0x00000000UL
672 #define _LEUART_INPUT_RXPRSSEL_PRSCH0 0x00000000UL
673 #define _LEUART_INPUT_RXPRSSEL_PRSCH1 0x00000001UL
674 #define _LEUART_INPUT_RXPRSSEL_PRSCH2 0x00000002UL
675 #define _LEUART_INPUT_RXPRSSEL_PRSCH3 0x00000003UL
676 #define _LEUART_INPUT_RXPRSSEL_PRSCH4 0x00000004UL
677 #define _LEUART_INPUT_RXPRSSEL_PRSCH5 0x00000005UL
678 #define LEUART_INPUT_RXPRSSEL_DEFAULT (_LEUART_INPUT_RXPRSSEL_DEFAULT << 0)
679 #define LEUART_INPUT_RXPRSSEL_PRSCH0 (_LEUART_INPUT_RXPRSSEL_PRSCH0 << 0)
680 #define LEUART_INPUT_RXPRSSEL_PRSCH1 (_LEUART_INPUT_RXPRSSEL_PRSCH1 << 0)
681 #define LEUART_INPUT_RXPRSSEL_PRSCH2 (_LEUART_INPUT_RXPRSSEL_PRSCH2 << 0)
682 #define LEUART_INPUT_RXPRSSEL_PRSCH3 (_LEUART_INPUT_RXPRSSEL_PRSCH3 << 0)
683 #define LEUART_INPUT_RXPRSSEL_PRSCH4 (_LEUART_INPUT_RXPRSSEL_PRSCH4 << 0)
684 #define LEUART_INPUT_RXPRSSEL_PRSCH5 (_LEUART_INPUT_RXPRSSEL_PRSCH5 << 0)
685 #define LEUART_INPUT_RXPRS (0x1UL << 4)
686 #define _LEUART_INPUT_RXPRS_SHIFT 4
687 #define _LEUART_INPUT_RXPRS_MASK 0x10UL
688 #define _LEUART_INPUT_RXPRS_DEFAULT 0x00000000UL
689 #define LEUART_INPUT_RXPRS_DEFAULT (_LEUART_INPUT_RXPRS_DEFAULT << 4)
__IOM uint32_t CTRL
__IOM uint32_t PULSECTRL
__IM uint32_t SYNCBUSY
__IOM uint32_t IFS
__IOM uint32_t TXDATAX
__IOM uint32_t IEN
__IOM uint32_t TXDATA
__IOM uint32_t CLKDIV
__IOM uint32_t FREEZE
__IOM uint32_t STARTFRAME
__IM uint32_t RXDATAX
__IM uint32_t RXDATA
__IOM uint32_t ROUTE
__IM uint32_t IF
__IM uint32_t STATUS
__IM uint32_t RXDATAXP
__IOM uint32_t SIGFRAME
__IOM uint32_t CMD
__IOM uint32_t IFC
__IOM uint32_t INPUT