k64/
uart0.rs

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 wp7816t0: WP7816T0,
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}
67#[doc = "UART Baud Rate Registers: High"]
68pub struct BDH {
69    register: ::vcell::VolatileCell<u8>,
70}
71#[doc = "UART Baud Rate Registers: High"]
72pub mod bdh;
73#[doc = "UART Baud Rate Registers: Low"]
74pub struct BDL {
75    register: ::vcell::VolatileCell<u8>,
76}
77#[doc = "UART Baud Rate Registers: Low"]
78pub mod bdl;
79#[doc = "UART Control Register 1"]
80pub struct C1 {
81    register: ::vcell::VolatileCell<u8>,
82}
83#[doc = "UART Control Register 1"]
84pub mod c1;
85#[doc = "UART Control Register 2"]
86pub struct C2 {
87    register: ::vcell::VolatileCell<u8>,
88}
89#[doc = "UART Control Register 2"]
90pub mod c2;
91#[doc = "UART Status Register 1"]
92pub struct S1 {
93    register: ::vcell::VolatileCell<u8>,
94}
95#[doc = "UART Status Register 1"]
96pub mod s1;
97#[doc = "UART Status Register 2"]
98pub struct S2 {
99    register: ::vcell::VolatileCell<u8>,
100}
101#[doc = "UART Status Register 2"]
102pub mod s2;
103#[doc = "UART Control Register 3"]
104pub struct C3 {
105    register: ::vcell::VolatileCell<u8>,
106}
107#[doc = "UART Control Register 3"]
108pub mod c3;
109#[doc = "UART Data Register"]
110pub struct D {
111    register: ::vcell::VolatileCell<u8>,
112}
113#[doc = "UART Data Register"]
114pub mod d;
115#[doc = "UART Match Address Registers 1"]
116pub struct MA1 {
117    register: ::vcell::VolatileCell<u8>,
118}
119#[doc = "UART Match Address Registers 1"]
120pub mod ma1;
121#[doc = "UART Match Address Registers 2"]
122pub struct MA2 {
123    register: ::vcell::VolatileCell<u8>,
124}
125#[doc = "UART Match Address Registers 2"]
126pub mod ma2;
127#[doc = "UART Control Register 4"]
128pub struct C4 {
129    register: ::vcell::VolatileCell<u8>,
130}
131#[doc = "UART Control Register 4"]
132pub mod c4;
133#[doc = "UART Control Register 5"]
134pub struct C5 {
135    register: ::vcell::VolatileCell<u8>,
136}
137#[doc = "UART Control Register 5"]
138pub mod c5;
139#[doc = "UART Extended Data Register"]
140pub struct ED {
141    register: ::vcell::VolatileCell<u8>,
142}
143#[doc = "UART Extended Data Register"]
144pub mod ed;
145#[doc = "UART Modem Register"]
146pub struct MODEM {
147    register: ::vcell::VolatileCell<u8>,
148}
149#[doc = "UART Modem Register"]
150pub mod modem;
151#[doc = "UART Infrared Register"]
152pub struct IR {
153    register: ::vcell::VolatileCell<u8>,
154}
155#[doc = "UART Infrared Register"]
156pub mod ir;
157#[doc = "UART FIFO Parameters"]
158pub struct PFIFO {
159    register: ::vcell::VolatileCell<u8>,
160}
161#[doc = "UART FIFO Parameters"]
162pub mod pfifo;
163#[doc = "UART FIFO Control Register"]
164pub struct CFIFO {
165    register: ::vcell::VolatileCell<u8>,
166}
167#[doc = "UART FIFO Control Register"]
168pub mod cfifo;
169#[doc = "UART FIFO Status Register"]
170pub struct SFIFO {
171    register: ::vcell::VolatileCell<u8>,
172}
173#[doc = "UART FIFO Status Register"]
174pub mod sfifo;
175#[doc = "UART FIFO Transmit Watermark"]
176pub struct TWFIFO {
177    register: ::vcell::VolatileCell<u8>,
178}
179#[doc = "UART FIFO Transmit Watermark"]
180pub mod twfifo;
181#[doc = "UART FIFO Transmit Count"]
182pub struct TCFIFO {
183    register: ::vcell::VolatileCell<u8>,
184}
185#[doc = "UART FIFO Transmit Count"]
186pub mod tcfifo;
187#[doc = "UART FIFO Receive Watermark"]
188pub struct RWFIFO {
189    register: ::vcell::VolatileCell<u8>,
190}
191#[doc = "UART FIFO Receive Watermark"]
192pub mod rwfifo;
193#[doc = "UART FIFO Receive Count"]
194pub struct RCFIFO {
195    register: ::vcell::VolatileCell<u8>,
196}
197#[doc = "UART FIFO Receive Count"]
198pub mod rcfifo;
199#[doc = "UART 7816 Control Register"]
200pub struct C7816 {
201    register: ::vcell::VolatileCell<u8>,
202}
203#[doc = "UART 7816 Control Register"]
204pub mod c7816;
205#[doc = "UART 7816 Interrupt Enable Register"]
206pub struct IE7816 {
207    register: ::vcell::VolatileCell<u8>,
208}
209#[doc = "UART 7816 Interrupt Enable Register"]
210pub mod ie7816;
211#[doc = "UART 7816 Interrupt Status Register"]
212pub struct IS7816 {
213    register: ::vcell::VolatileCell<u8>,
214}
215#[doc = "UART 7816 Interrupt Status Register"]
216pub mod is7816;
217#[doc = "UART 7816 Wait Parameter Register"]
218pub struct WP7816T0 {
219    register: ::vcell::VolatileCell<u8>,
220}
221#[doc = "UART 7816 Wait Parameter Register"]
222pub mod wp7816t0;
223#[doc = "UART 7816 Wait Parameter Register"]
224pub struct WP7816T1 {
225    register: ::vcell::VolatileCell<u8>,
226}
227#[doc = "UART 7816 Wait Parameter Register"]
228pub mod wp7816t1;
229#[doc = "UART 7816 Wait N Register"]
230pub struct WN7816 {
231    register: ::vcell::VolatileCell<u8>,
232}
233#[doc = "UART 7816 Wait N Register"]
234pub mod wn7816;
235#[doc = "UART 7816 Wait FD Register"]
236pub struct WF7816 {
237    register: ::vcell::VolatileCell<u8>,
238}
239#[doc = "UART 7816 Wait FD Register"]
240pub mod wf7816;
241#[doc = "UART 7816 Error Threshold Register"]
242pub struct ET7816 {
243    register: ::vcell::VolatileCell<u8>,
244}
245#[doc = "UART 7816 Error Threshold Register"]
246pub mod et7816;
247#[doc = "UART 7816 Transmit Length Register"]
248pub struct TL7816 {
249    register: ::vcell::VolatileCell<u8>,
250}
251#[doc = "UART 7816 Transmit Length Register"]
252pub mod tl7816;