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