1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - UART Baud Rate Registers: High"]
5 pub bdh: BDH,
6 #[doc = "0x01 - UART Baud Rate Registers: Low"]
7 pub bdl: BDL,
8 #[doc = "0x02 - UART Control Register 1"]
9 pub c1: C1,
10 #[doc = "0x03 - UART Control Register 2"]
11 pub c2: C2,
12 #[doc = "0x04 - UART Status Register 1"]
13 pub s1: S1,
14 #[doc = "0x05 - UART Status Register 2"]
15 pub s2: S2,
16 #[doc = "0x06 - UART Control Register 3"]
17 pub c3: C3,
18 #[doc = "0x07 - UART Data Register"]
19 pub d: D,
20 #[doc = "0x08 - UART Match Address Registers 1"]
21 pub ma1: MA1,
22 #[doc = "0x09 - UART Match Address Registers 2"]
23 pub ma2: MA2,
24 #[doc = "0x0a - UART Control Register 4"]
25 pub c4: C4,
26 #[doc = "0x0b - UART Control Register 5"]
27 pub c5: C5,
28 #[doc = "0x0c - UART Extended Data Register"]
29 pub ed: ED,
30 #[doc = "0x0d - UART Modem Register"]
31 pub modem: MODEM,
32 #[doc = "0x0e - UART Infrared Register"]
33 pub ir: IR,
34 _reserved0: [u8; 1usize],
35 #[doc = "0x10 - UART FIFO Parameters"]
36 pub pfifo: PFIFO,
37 #[doc = "0x11 - UART FIFO Control Register"]
38 pub cfifo: CFIFO,
39 #[doc = "0x12 - UART FIFO Status Register"]
40 pub sfifo: SFIFO,
41 #[doc = "0x13 - UART FIFO Transmit Watermark"]
42 pub twfifo: TWFIFO,
43 #[doc = "0x14 - UART FIFO Transmit Count"]
44 pub tcfifo: TCFIFO,
45 #[doc = "0x15 - UART FIFO Receive Watermark"]
46 pub rwfifo: RWFIFO,
47 #[doc = "0x16 - UART FIFO Receive Count"]
48 pub rcfifo: RCFIFO,
49 _reserved1: [u8; 1usize],
50 #[doc = "0x18 - UART 7816 Control Register"]
51 pub c7816: C7816,
52 #[doc = "0x19 - UART 7816 Interrupt Enable Register"]
53 pub ie7816: IE7816,
54 #[doc = "0x1a - UART 7816 Interrupt Status Register"]
55 pub is7816: IS7816,
56 #[doc = "0x1b - UART 7816 Wait Parameter Register"]
57 pub wp7816: WP7816,
58 #[doc = "0x1c - UART 7816 Wait N Register"]
59 pub wn7816: WN7816,
60 #[doc = "0x1d - UART 7816 Wait FD Register"]
61 pub wf7816: WF7816,
62 #[doc = "0x1e - UART 7816 Error Threshold Register"]
63 pub et7816: ET7816,
64 #[doc = "0x1f - UART 7816 Transmit Length Register"]
65 pub tl7816: TL7816,
66 _reserved2: [u8; 26usize],
67 #[doc = "0x3a - UART 7816 ATR Duration Timer Register A"]
68 pub ap7816a_t0: AP7816A_T0,
69 #[doc = "0x3b - UART 7816 ATR Duration Timer Register B"]
70 pub ap7816b_t0: AP7816B_T0,
71 #[doc = "0x3c - UART 7816 Wait Parameter Register A"]
72 pub wp7816a_t0: WP7816A_T0,
73 #[doc = "0x3d - UART 7816 Wait Parameter Register B"]
74 pub wp7816b_t0: WP7816B_T0,
75 #[doc = "0x3e - UART 7816 Wait and Guard Parameter Register"]
76 pub wgp7816_t1: WGP7816_T1,
77 #[doc = "0x3f - UART 7816 Wait Parameter Register C"]
78 pub wp7816c_t1: WP7816C_T1,
79}
80#[doc = "UART Baud Rate Registers: High"]
81pub struct BDH {
82 register: ::vcell::VolatileCell<u8>,
83}
84#[doc = "UART Baud Rate Registers: High"]
85pub mod bdh;
86#[doc = "UART Baud Rate Registers: Low"]
87pub struct BDL {
88 register: ::vcell::VolatileCell<u8>,
89}
90#[doc = "UART Baud Rate Registers: Low"]
91pub mod bdl;
92#[doc = "UART Control Register 1"]
93pub struct C1 {
94 register: ::vcell::VolatileCell<u8>,
95}
96#[doc = "UART Control Register 1"]
97pub mod c1;
98#[doc = "UART Control Register 2"]
99pub struct C2 {
100 register: ::vcell::VolatileCell<u8>,
101}
102#[doc = "UART Control Register 2"]
103pub mod c2;
104#[doc = "UART Status Register 1"]
105pub struct S1 {
106 register: ::vcell::VolatileCell<u8>,
107}
108#[doc = "UART Status Register 1"]
109pub mod s1;
110#[doc = "UART Status Register 2"]
111pub struct S2 {
112 register: ::vcell::VolatileCell<u8>,
113}
114#[doc = "UART Status Register 2"]
115pub mod s2;
116#[doc = "UART Control Register 3"]
117pub struct C3 {
118 register: ::vcell::VolatileCell<u8>,
119}
120#[doc = "UART Control Register 3"]
121pub mod c3;
122#[doc = "UART Data Register"]
123pub struct D {
124 register: ::vcell::VolatileCell<u8>,
125}
126#[doc = "UART Data Register"]
127pub mod d;
128#[doc = "UART Match Address Registers 1"]
129pub struct MA1 {
130 register: ::vcell::VolatileCell<u8>,
131}
132#[doc = "UART Match Address Registers 1"]
133pub mod ma1;
134#[doc = "UART Match Address Registers 2"]
135pub struct MA2 {
136 register: ::vcell::VolatileCell<u8>,
137}
138#[doc = "UART Match Address Registers 2"]
139pub mod ma2;
140#[doc = "UART Control Register 4"]
141pub struct C4 {
142 register: ::vcell::VolatileCell<u8>,
143}
144#[doc = "UART Control Register 4"]
145pub mod c4;
146#[doc = "UART Control Register 5"]
147pub struct C5 {
148 register: ::vcell::VolatileCell<u8>,
149}
150#[doc = "UART Control Register 5"]
151pub mod c5;
152#[doc = "UART Extended Data Register"]
153pub struct ED {
154 register: ::vcell::VolatileCell<u8>,
155}
156#[doc = "UART Extended Data Register"]
157pub mod ed;
158#[doc = "UART Modem Register"]
159pub struct MODEM {
160 register: ::vcell::VolatileCell<u8>,
161}
162#[doc = "UART Modem Register"]
163pub mod modem;
164#[doc = "UART Infrared Register"]
165pub struct IR {
166 register: ::vcell::VolatileCell<u8>,
167}
168#[doc = "UART Infrared Register"]
169pub mod ir;
170#[doc = "UART FIFO Parameters"]
171pub struct PFIFO {
172 register: ::vcell::VolatileCell<u8>,
173}
174#[doc = "UART FIFO Parameters"]
175pub mod pfifo;
176#[doc = "UART FIFO Control Register"]
177pub struct CFIFO {
178 register: ::vcell::VolatileCell<u8>,
179}
180#[doc = "UART FIFO Control Register"]
181pub mod cfifo;
182#[doc = "UART FIFO Status Register"]
183pub struct SFIFO {
184 register: ::vcell::VolatileCell<u8>,
185}
186#[doc = "UART FIFO Status Register"]
187pub mod sfifo;
188#[doc = "UART FIFO Transmit Watermark"]
189pub struct TWFIFO {
190 register: ::vcell::VolatileCell<u8>,
191}
192#[doc = "UART FIFO Transmit Watermark"]
193pub mod twfifo;
194#[doc = "UART FIFO Transmit Count"]
195pub struct TCFIFO {
196 register: ::vcell::VolatileCell<u8>,
197}
198#[doc = "UART FIFO Transmit Count"]
199pub mod tcfifo;
200#[doc = "UART FIFO Receive Watermark"]
201pub struct RWFIFO {
202 register: ::vcell::VolatileCell<u8>,
203}
204#[doc = "UART FIFO Receive Watermark"]
205pub mod rwfifo;
206#[doc = "UART FIFO Receive Count"]
207pub struct RCFIFO {
208 register: ::vcell::VolatileCell<u8>,
209}
210#[doc = "UART FIFO Receive Count"]
211pub mod rcfifo;
212#[doc = "UART 7816 Control Register"]
213pub struct C7816 {
214 register: ::vcell::VolatileCell<u8>,
215}
216#[doc = "UART 7816 Control Register"]
217pub mod c7816;
218#[doc = "UART 7816 Interrupt Enable Register"]
219pub struct IE7816 {
220 register: ::vcell::VolatileCell<u8>,
221}
222#[doc = "UART 7816 Interrupt Enable Register"]
223pub mod ie7816;
224#[doc = "UART 7816 Interrupt Status Register"]
225pub struct IS7816 {
226 register: ::vcell::VolatileCell<u8>,
227}
228#[doc = "UART 7816 Interrupt Status Register"]
229pub mod is7816;
230#[doc = "UART 7816 Wait Parameter Register"]
231pub struct WP7816 {
232 register: ::vcell::VolatileCell<u8>,
233}
234#[doc = "UART 7816 Wait Parameter Register"]
235pub mod wp7816;
236#[doc = "UART 7816 Wait N Register"]
237pub struct WN7816 {
238 register: ::vcell::VolatileCell<u8>,
239}
240#[doc = "UART 7816 Wait N Register"]
241pub mod wn7816;
242#[doc = "UART 7816 Wait FD Register"]
243pub struct WF7816 {
244 register: ::vcell::VolatileCell<u8>,
245}
246#[doc = "UART 7816 Wait FD Register"]
247pub mod wf7816;
248#[doc = "UART 7816 Error Threshold Register"]
249pub struct ET7816 {
250 register: ::vcell::VolatileCell<u8>,
251}
252#[doc = "UART 7816 Error Threshold Register"]
253pub mod et7816;
254#[doc = "UART 7816 Transmit Length Register"]
255pub struct TL7816 {
256 register: ::vcell::VolatileCell<u8>,
257}
258#[doc = "UART 7816 Transmit Length Register"]
259pub mod tl7816;
260#[doc = "UART 7816 ATR Duration Timer Register A"]
261pub struct AP7816A_T0 {
262 register: ::vcell::VolatileCell<u8>,
263}
264#[doc = "UART 7816 ATR Duration Timer Register A"]
265pub mod ap7816a_t0;
266#[doc = "UART 7816 ATR Duration Timer Register B"]
267pub struct AP7816B_T0 {
268 register: ::vcell::VolatileCell<u8>,
269}
270#[doc = "UART 7816 ATR Duration Timer Register B"]
271pub mod ap7816b_t0;
272#[doc = "UART 7816 Wait Parameter Register A"]
273pub struct WP7816A_T0 {
274 register: ::vcell::VolatileCell<u8>,
275}
276#[doc = "UART 7816 Wait Parameter Register A"]
277pub mod wp7816a_t0;
278#[doc = "UART 7816 Wait Parameter Register A"]
279pub struct WP7816A_T1 {
280 register: ::vcell::VolatileCell<u8>,
281}
282#[doc = "UART 7816 Wait Parameter Register A"]
283pub mod wp7816a_t1;
284#[doc = "UART 7816 Wait Parameter Register B"]
285pub struct WP7816B_T0 {
286 register: ::vcell::VolatileCell<u8>,
287}
288#[doc = "UART 7816 Wait Parameter Register B"]
289pub mod wp7816b_t0;
290#[doc = "UART 7816 Wait Parameter Register B"]
291pub struct WP7816B_T1 {
292 register: ::vcell::VolatileCell<u8>,
293}
294#[doc = "UART 7816 Wait Parameter Register B"]
295pub mod wp7816b_t1;
296#[doc = "UART 7816 Wait and Guard Parameter Register"]
297pub struct WGP7816_T1 {
298 register: ::vcell::VolatileCell<u8>,
299}
300#[doc = "UART 7816 Wait and Guard Parameter Register"]
301pub mod wgp7816_t1;
302#[doc = "UART 7816 Wait Parameter Register C"]
303pub struct WP7816C_T1 {
304 register: ::vcell::VolatileCell<u8>,
305}
306#[doc = "UART 7816 Wait Parameter Register C"]
307pub mod wp7816c_t1;