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 _reserved15: [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}
50#[doc = "UART Baud Rate Registers: High\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [bdh](bdh) module"]
51pub type BDH = crate::Reg<u8, _BDH>;
52#[allow(missing_docs)]
53#[doc(hidden)]
54pub struct _BDH;
55#[doc = "`read()` method returns [bdh::R](bdh::R) reader structure"]
56impl crate::Readable for BDH {}
57#[doc = "`write(|w| ..)` method takes [bdh::W](bdh::W) writer structure"]
58impl crate::Writable for BDH {}
59#[doc = "UART Baud Rate Registers: High"]
60pub mod bdh;
61#[doc = "UART Baud Rate Registers: Low\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [bdl](bdl) module"]
62pub type BDL = crate::Reg<u8, _BDL>;
63#[allow(missing_docs)]
64#[doc(hidden)]
65pub struct _BDL;
66#[doc = "`read()` method returns [bdl::R](bdl::R) reader structure"]
67impl crate::Readable for BDL {}
68#[doc = "`write(|w| ..)` method takes [bdl::W](bdl::W) writer structure"]
69impl crate::Writable for BDL {}
70#[doc = "UART Baud Rate Registers: Low"]
71pub mod bdl;
72#[doc = "UART Control Register 1\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [c1](c1) module"]
73pub type C1 = crate::Reg<u8, _C1>;
74#[allow(missing_docs)]
75#[doc(hidden)]
76pub struct _C1;
77#[doc = "`read()` method returns [c1::R](c1::R) reader structure"]
78impl crate::Readable for C1 {}
79#[doc = "`write(|w| ..)` method takes [c1::W](c1::W) writer structure"]
80impl crate::Writable for C1 {}
81#[doc = "UART Control Register 1"]
82pub mod c1;
83#[doc = "UART Control Register 2\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [c2](c2) module"]
84pub type C2 = crate::Reg<u8, _C2>;
85#[allow(missing_docs)]
86#[doc(hidden)]
87pub struct _C2;
88#[doc = "`read()` method returns [c2::R](c2::R) reader structure"]
89impl crate::Readable for C2 {}
90#[doc = "`write(|w| ..)` method takes [c2::W](c2::W) writer structure"]
91impl crate::Writable for C2 {}
92#[doc = "UART Control Register 2"]
93pub mod c2;
94#[doc = "UART Status Register 1\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [s1](s1) module"]
95pub type S1 = crate::Reg<u8, _S1>;
96#[allow(missing_docs)]
97#[doc(hidden)]
98pub struct _S1;
99#[doc = "`read()` method returns [s1::R](s1::R) reader structure"]
100impl crate::Readable for S1 {}
101#[doc = "UART Status Register 1"]
102pub mod s1;
103#[doc = "UART Status Register 2\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [s2](s2) module"]
104pub type S2 = crate::Reg<u8, _S2>;
105#[allow(missing_docs)]
106#[doc(hidden)]
107pub struct _S2;
108#[doc = "`read()` method returns [s2::R](s2::R) reader structure"]
109impl crate::Readable for S2 {}
110#[doc = "`write(|w| ..)` method takes [s2::W](s2::W) writer structure"]
111impl crate::Writable for S2 {}
112#[doc = "UART Status Register 2"]
113pub mod s2;
114#[doc = "UART Control Register 3\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [c3](c3) module"]
115pub type C3 = crate::Reg<u8, _C3>;
116#[allow(missing_docs)]
117#[doc(hidden)]
118pub struct _C3;
119#[doc = "`read()` method returns [c3::R](c3::R) reader structure"]
120impl crate::Readable for C3 {}
121#[doc = "`write(|w| ..)` method takes [c3::W](c3::W) writer structure"]
122impl crate::Writable for C3 {}
123#[doc = "UART Control Register 3"]
124pub mod c3;
125#[doc = "UART Data Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [d](d) module"]
126pub type D = crate::Reg<u8, _D>;
127#[allow(missing_docs)]
128#[doc(hidden)]
129pub struct _D;
130#[doc = "`read()` method returns [d::R](d::R) reader structure"]
131impl crate::Readable for D {}
132#[doc = "`write(|w| ..)` method takes [d::W](d::W) writer structure"]
133impl crate::Writable for D {}
134#[doc = "UART Data Register"]
135pub mod d;
136#[doc = "UART Match Address Registers 1\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [ma1](ma1) module"]
137pub type MA1 = crate::Reg<u8, _MA1>;
138#[allow(missing_docs)]
139#[doc(hidden)]
140pub struct _MA1;
141#[doc = "`read()` method returns [ma1::R](ma1::R) reader structure"]
142impl crate::Readable for MA1 {}
143#[doc = "`write(|w| ..)` method takes [ma1::W](ma1::W) writer structure"]
144impl crate::Writable for MA1 {}
145#[doc = "UART Match Address Registers 1"]
146pub mod ma1;
147#[doc = "UART Match Address Registers 2\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [ma2](ma2) module"]
148pub type MA2 = crate::Reg<u8, _MA2>;
149#[allow(missing_docs)]
150#[doc(hidden)]
151pub struct _MA2;
152#[doc = "`read()` method returns [ma2::R](ma2::R) reader structure"]
153impl crate::Readable for MA2 {}
154#[doc = "`write(|w| ..)` method takes [ma2::W](ma2::W) writer structure"]
155impl crate::Writable for MA2 {}
156#[doc = "UART Match Address Registers 2"]
157pub mod ma2;
158#[doc = "UART Control Register 4\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [c4](c4) module"]
159pub type C4 = crate::Reg<u8, _C4>;
160#[allow(missing_docs)]
161#[doc(hidden)]
162pub struct _C4;
163#[doc = "`read()` method returns [c4::R](c4::R) reader structure"]
164impl crate::Readable for C4 {}
165#[doc = "`write(|w| ..)` method takes [c4::W](c4::W) writer structure"]
166impl crate::Writable for C4 {}
167#[doc = "UART Control Register 4"]
168pub mod c4;
169#[doc = "UART Control Register 5\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [c5](c5) module"]
170pub type C5 = crate::Reg<u8, _C5>;
171#[allow(missing_docs)]
172#[doc(hidden)]
173pub struct _C5;
174#[doc = "`read()` method returns [c5::R](c5::R) reader structure"]
175impl crate::Readable for C5 {}
176#[doc = "`write(|w| ..)` method takes [c5::W](c5::W) writer structure"]
177impl crate::Writable for C5 {}
178#[doc = "UART Control Register 5"]
179pub mod c5;
180#[doc = "UART Extended Data Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [ed](ed) module"]
181pub type ED = crate::Reg<u8, _ED>;
182#[allow(missing_docs)]
183#[doc(hidden)]
184pub struct _ED;
185#[doc = "`read()` method returns [ed::R](ed::R) reader structure"]
186impl crate::Readable for ED {}
187#[doc = "UART Extended Data Register"]
188pub mod ed;
189#[doc = "UART Modem Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [modem](modem) module"]
190pub type MODEM = crate::Reg<u8, _MODEM>;
191#[allow(missing_docs)]
192#[doc(hidden)]
193pub struct _MODEM;
194#[doc = "`read()` method returns [modem::R](modem::R) reader structure"]
195impl crate::Readable for MODEM {}
196#[doc = "`write(|w| ..)` method takes [modem::W](modem::W) writer structure"]
197impl crate::Writable for MODEM {}
198#[doc = "UART Modem Register"]
199pub mod modem;
200#[doc = "UART Infrared Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [ir](ir) module"]
201pub type IR = crate::Reg<u8, _IR>;
202#[allow(missing_docs)]
203#[doc(hidden)]
204pub struct _IR;
205#[doc = "`read()` method returns [ir::R](ir::R) reader structure"]
206impl crate::Readable for IR {}
207#[doc = "`write(|w| ..)` method takes [ir::W](ir::W) writer structure"]
208impl crate::Writable for IR {}
209#[doc = "UART Infrared Register"]
210pub mod ir;
211#[doc = "UART FIFO Parameters\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [pfifo](pfifo) module"]
212pub type PFIFO = crate::Reg<u8, _PFIFO>;
213#[allow(missing_docs)]
214#[doc(hidden)]
215pub struct _PFIFO;
216#[doc = "`read()` method returns [pfifo::R](pfifo::R) reader structure"]
217impl crate::Readable for PFIFO {}
218#[doc = "`write(|w| ..)` method takes [pfifo::W](pfifo::W) writer structure"]
219impl crate::Writable for PFIFO {}
220#[doc = "UART FIFO Parameters"]
221pub mod pfifo;
222#[doc = "UART FIFO Control Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [cfifo](cfifo) module"]
223pub type CFIFO = crate::Reg<u8, _CFIFO>;
224#[allow(missing_docs)]
225#[doc(hidden)]
226pub struct _CFIFO;
227#[doc = "`read()` method returns [cfifo::R](cfifo::R) reader structure"]
228impl crate::Readable for CFIFO {}
229#[doc = "`write(|w| ..)` method takes [cfifo::W](cfifo::W) writer structure"]
230impl crate::Writable for CFIFO {}
231#[doc = "UART FIFO Control Register"]
232pub mod cfifo;
233#[doc = "UART FIFO Status Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [sfifo](sfifo) module"]
234pub type SFIFO = crate::Reg<u8, _SFIFO>;
235#[allow(missing_docs)]
236#[doc(hidden)]
237pub struct _SFIFO;
238#[doc = "`read()` method returns [sfifo::R](sfifo::R) reader structure"]
239impl crate::Readable for SFIFO {}
240#[doc = "`write(|w| ..)` method takes [sfifo::W](sfifo::W) writer structure"]
241impl crate::Writable for SFIFO {}
242#[doc = "UART FIFO Status Register"]
243pub mod sfifo;
244#[doc = "UART FIFO Transmit Watermark\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [twfifo](twfifo) module"]
245pub type TWFIFO = crate::Reg<u8, _TWFIFO>;
246#[allow(missing_docs)]
247#[doc(hidden)]
248pub struct _TWFIFO;
249#[doc = "`read()` method returns [twfifo::R](twfifo::R) reader structure"]
250impl crate::Readable for TWFIFO {}
251#[doc = "`write(|w| ..)` method takes [twfifo::W](twfifo::W) writer structure"]
252impl crate::Writable for TWFIFO {}
253#[doc = "UART FIFO Transmit Watermark"]
254pub mod twfifo;
255#[doc = "UART FIFO Transmit Count\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [tcfifo](tcfifo) module"]
256pub type TCFIFO = crate::Reg<u8, _TCFIFO>;
257#[allow(missing_docs)]
258#[doc(hidden)]
259pub struct _TCFIFO;
260#[doc = "`read()` method returns [tcfifo::R](tcfifo::R) reader structure"]
261impl crate::Readable for TCFIFO {}
262#[doc = "UART FIFO Transmit Count"]
263pub mod tcfifo;
264#[doc = "UART FIFO Receive Watermark\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [rwfifo](rwfifo) module"]
265pub type RWFIFO = crate::Reg<u8, _RWFIFO>;
266#[allow(missing_docs)]
267#[doc(hidden)]
268pub struct _RWFIFO;
269#[doc = "`read()` method returns [rwfifo::R](rwfifo::R) reader structure"]
270impl crate::Readable for RWFIFO {}
271#[doc = "`write(|w| ..)` method takes [rwfifo::W](rwfifo::W) writer structure"]
272impl crate::Writable for RWFIFO {}
273#[doc = "UART FIFO Receive Watermark"]
274pub mod rwfifo;
275#[doc = "UART FIFO Receive Count\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [rcfifo](rcfifo) module"]
276pub type RCFIFO = crate::Reg<u8, _RCFIFO>;
277#[allow(missing_docs)]
278#[doc(hidden)]
279pub struct _RCFIFO;
280#[doc = "`read()` method returns [rcfifo::R](rcfifo::R) reader structure"]
281impl crate::Readable for RCFIFO {}
282#[doc = "UART FIFO Receive Count"]
283pub mod rcfifo;