1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub ctrl: CTRL,
6 #[doc = "0x04 - Command Register"]
7 pub cmd: CMD,
8 #[doc = "0x08 - Status Register"]
9 pub status: STATUS,
10 #[doc = "0x0c - Clock Control Register"]
11 pub clkdiv: CLKDIV,
12 #[doc = "0x10 - Start Frame Register"]
13 pub startframe: STARTFRAME,
14 #[doc = "0x14 - Signal Frame Register"]
15 pub sigframe: SIGFRAME,
16 #[doc = "0x18 - Receive Buffer Data Extended Register"]
17 pub rxdatax: RXDATAX,
18 #[doc = "0x1c - Receive Buffer Data Register"]
19 pub rxdata: RXDATA,
20 #[doc = "0x20 - Receive Buffer Data Extended Peek Register"]
21 pub rxdataxp: RXDATAXP,
22 #[doc = "0x24 - Transmit Buffer Data Extended Register"]
23 pub txdatax: TXDATAX,
24 #[doc = "0x28 - Transmit Buffer Data Register"]
25 pub txdata: TXDATA,
26 #[doc = "0x2c - Interrupt Flag Register"]
27 pub if_: IF,
28 #[doc = "0x30 - Interrupt Flag Set Register"]
29 pub ifs: IFS,
30 #[doc = "0x34 - Interrupt Flag Clear Register"]
31 pub ifc: IFC,
32 #[doc = "0x38 - Interrupt Enable Register"]
33 pub ien: IEN,
34 #[doc = "0x3c - Pulse Control Register"]
35 pub pulsectrl: PULSECTRL,
36 #[doc = "0x40 - Freeze Register"]
37 pub freeze: FREEZE,
38 #[doc = "0x44 - Synchronization Busy Register"]
39 pub syncbusy: SYNCBUSY,
40 _reserved18: [u8; 12usize],
41 #[doc = "0x54 - I/O Routing Pin Enable Register"]
42 pub routepen: ROUTEPEN,
43 #[doc = "0x58 - I/O Routing Location Register"]
44 pub routeloc0: ROUTELOC0,
45 _reserved20: [u8; 8usize],
46 #[doc = "0x64 - LEUART Input Register"]
47 pub input: INPUT,
48}
49#[doc = "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 available fields see [ctrl](ctrl) module"]
50pub type CTRL = crate::Reg<u32, _CTRL>;
51#[allow(missing_docs)]
52#[doc(hidden)]
53pub struct _CTRL;
54#[doc = "`read()` method returns [ctrl::R](ctrl::R) reader structure"]
55impl crate::Readable for CTRL {}
56#[doc = "`write(|w| ..)` method takes [ctrl::W](ctrl::W) writer structure"]
57impl crate::Writable for CTRL {}
58#[doc = "Control Register"]
59pub mod ctrl;
60#[doc = "Command Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [cmd](cmd) module"]
61pub type CMD = crate::Reg<u32, _CMD>;
62#[allow(missing_docs)]
63#[doc(hidden)]
64pub struct _CMD;
65#[doc = "`write(|w| ..)` method takes [cmd::W](cmd::W) writer structure"]
66impl crate::Writable for CMD {}
67#[doc = "Command Register"]
68pub mod cmd;
69#[doc = "Status 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 available fields see [status](status) module"]
70pub type STATUS = crate::Reg<u32, _STATUS>;
71#[allow(missing_docs)]
72#[doc(hidden)]
73pub struct _STATUS;
74#[doc = "`read()` method returns [status::R](status::R) reader structure"]
75impl crate::Readable for STATUS {}
76#[doc = "Status Register"]
77pub mod status;
78#[doc = "Clock 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 available fields see [clkdiv](clkdiv) module"]
79pub type CLKDIV = crate::Reg<u32, _CLKDIV>;
80#[allow(missing_docs)]
81#[doc(hidden)]
82pub struct _CLKDIV;
83#[doc = "`read()` method returns [clkdiv::R](clkdiv::R) reader structure"]
84impl crate::Readable for CLKDIV {}
85#[doc = "`write(|w| ..)` method takes [clkdiv::W](clkdiv::W) writer structure"]
86impl crate::Writable for CLKDIV {}
87#[doc = "Clock Control Register"]
88pub mod clkdiv;
89#[doc = "Start Frame 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 available fields see [startframe](startframe) module"]
90pub type STARTFRAME = crate::Reg<u32, _STARTFRAME>;
91#[allow(missing_docs)]
92#[doc(hidden)]
93pub struct _STARTFRAME;
94#[doc = "`read()` method returns [startframe::R](startframe::R) reader structure"]
95impl crate::Readable for STARTFRAME {}
96#[doc = "`write(|w| ..)` method takes [startframe::W](startframe::W) writer structure"]
97impl crate::Writable for STARTFRAME {}
98#[doc = "Start Frame Register"]
99pub mod startframe;
100#[doc = "Signal Frame 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 available fields see [sigframe](sigframe) module"]
101pub type SIGFRAME = crate::Reg<u32, _SIGFRAME>;
102#[allow(missing_docs)]
103#[doc(hidden)]
104pub struct _SIGFRAME;
105#[doc = "`read()` method returns [sigframe::R](sigframe::R) reader structure"]
106impl crate::Readable for SIGFRAME {}
107#[doc = "`write(|w| ..)` method takes [sigframe::W](sigframe::W) writer structure"]
108impl crate::Writable for SIGFRAME {}
109#[doc = "Signal Frame Register"]
110pub mod sigframe;
111#[doc = "Receive Buffer Data Extended 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 available fields see [rxdatax](rxdatax) module"]
112pub type RXDATAX = crate::Reg<u32, _RXDATAX>;
113#[allow(missing_docs)]
114#[doc(hidden)]
115pub struct _RXDATAX;
116#[doc = "`read()` method returns [rxdatax::R](rxdatax::R) reader structure"]
117impl crate::Readable for RXDATAX {}
118#[doc = "Receive Buffer Data Extended Register"]
119pub mod rxdatax;
120#[doc = "Receive Buffer 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 available fields see [rxdata](rxdata) module"]
121pub type RXDATA = crate::Reg<u32, _RXDATA>;
122#[allow(missing_docs)]
123#[doc(hidden)]
124pub struct _RXDATA;
125#[doc = "`read()` method returns [rxdata::R](rxdata::R) reader structure"]
126impl crate::Readable for RXDATA {}
127#[doc = "Receive Buffer Data Register"]
128pub mod rxdata;
129#[doc = "Receive Buffer Data Extended Peek 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 available fields see [rxdataxp](rxdataxp) module"]
130pub type RXDATAXP = crate::Reg<u32, _RXDATAXP>;
131#[allow(missing_docs)]
132#[doc(hidden)]
133pub struct _RXDATAXP;
134#[doc = "`read()` method returns [rxdataxp::R](rxdataxp::R) reader structure"]
135impl crate::Readable for RXDATAXP {}
136#[doc = "Receive Buffer Data Extended Peek Register"]
137pub mod rxdataxp;
138#[doc = "Transmit Buffer Data Extended 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 available fields see [txdatax](txdatax) module"]
139pub type TXDATAX = crate::Reg<u32, _TXDATAX>;
140#[allow(missing_docs)]
141#[doc(hidden)]
142pub struct _TXDATAX;
143#[doc = "`read()` method returns [txdatax::R](txdatax::R) reader structure"]
144impl crate::Readable for TXDATAX {}
145#[doc = "`write(|w| ..)` method takes [txdatax::W](txdatax::W) writer structure"]
146impl crate::Writable for TXDATAX {}
147#[doc = "Transmit Buffer Data Extended Register"]
148pub mod txdatax;
149#[doc = "Transmit Buffer 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 available fields see [txdata](txdata) module"]
150pub type TXDATA = crate::Reg<u32, _TXDATA>;
151#[allow(missing_docs)]
152#[doc(hidden)]
153pub struct _TXDATA;
154#[doc = "`read()` method returns [txdata::R](txdata::R) reader structure"]
155impl crate::Readable for TXDATA {}
156#[doc = "`write(|w| ..)` method takes [txdata::W](txdata::W) writer structure"]
157impl crate::Writable for TXDATA {}
158#[doc = "Transmit Buffer Data Register"]
159pub mod txdata;
160#[doc = "Interrupt Flag 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 available fields see [if_](if_) module"]
161pub type IF = crate::Reg<u32, _IF>;
162#[allow(missing_docs)]
163#[doc(hidden)]
164pub struct _IF;
165#[doc = "`read()` method returns [if_::R](if_::R) reader structure"]
166impl crate::Readable for IF {}
167#[doc = "Interrupt Flag Register"]
168pub mod if_;
169#[doc = "Interrupt Flag Set Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ifs](ifs) module"]
170pub type IFS = crate::Reg<u32, _IFS>;
171#[allow(missing_docs)]
172#[doc(hidden)]
173pub struct _IFS;
174#[doc = "`write(|w| ..)` method takes [ifs::W](ifs::W) writer structure"]
175impl crate::Writable for IFS {}
176#[doc = "Interrupt Flag Set Register"]
177pub mod ifs;
178#[doc = "Interrupt Flag Clear Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ifc](ifc) module"]
179pub type IFC = crate::Reg<u32, _IFC>;
180#[allow(missing_docs)]
181#[doc(hidden)]
182pub struct _IFC;
183#[doc = "`write(|w| ..)` method takes [ifc::W](ifc::W) writer structure"]
184impl crate::Writable for IFC {}
185#[doc = "Interrupt Flag Clear Register"]
186pub mod ifc;
187#[doc = "Interrupt Enable 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 available fields see [ien](ien) module"]
188pub type IEN = crate::Reg<u32, _IEN>;
189#[allow(missing_docs)]
190#[doc(hidden)]
191pub struct _IEN;
192#[doc = "`read()` method returns [ien::R](ien::R) reader structure"]
193impl crate::Readable for IEN {}
194#[doc = "`write(|w| ..)` method takes [ien::W](ien::W) writer structure"]
195impl crate::Writable for IEN {}
196#[doc = "Interrupt Enable Register"]
197pub mod ien;
198#[doc = "Pulse 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 available fields see [pulsectrl](pulsectrl) module"]
199pub type PULSECTRL = crate::Reg<u32, _PULSECTRL>;
200#[allow(missing_docs)]
201#[doc(hidden)]
202pub struct _PULSECTRL;
203#[doc = "`read()` method returns [pulsectrl::R](pulsectrl::R) reader structure"]
204impl crate::Readable for PULSECTRL {}
205#[doc = "`write(|w| ..)` method takes [pulsectrl::W](pulsectrl::W) writer structure"]
206impl crate::Writable for PULSECTRL {}
207#[doc = "Pulse Control Register"]
208pub mod pulsectrl;
209#[doc = "Freeze 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 available fields see [freeze](freeze) module"]
210pub type FREEZE = crate::Reg<u32, _FREEZE>;
211#[allow(missing_docs)]
212#[doc(hidden)]
213pub struct _FREEZE;
214#[doc = "`read()` method returns [freeze::R](freeze::R) reader structure"]
215impl crate::Readable for FREEZE {}
216#[doc = "`write(|w| ..)` method takes [freeze::W](freeze::W) writer structure"]
217impl crate::Writable for FREEZE {}
218#[doc = "Freeze Register"]
219pub mod freeze;
220#[doc = "Synchronization Busy 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 available fields see [syncbusy](syncbusy) module"]
221pub type SYNCBUSY = crate::Reg<u32, _SYNCBUSY>;
222#[allow(missing_docs)]
223#[doc(hidden)]
224pub struct _SYNCBUSY;
225#[doc = "`read()` method returns [syncbusy::R](syncbusy::R) reader structure"]
226impl crate::Readable for SYNCBUSY {}
227#[doc = "Synchronization Busy Register"]
228pub mod syncbusy;
229#[doc = "I/O Routing Pin Enable 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 available fields see [routepen](routepen) module"]
230pub type ROUTEPEN = crate::Reg<u32, _ROUTEPEN>;
231#[allow(missing_docs)]
232#[doc(hidden)]
233pub struct _ROUTEPEN;
234#[doc = "`read()` method returns [routepen::R](routepen::R) reader structure"]
235impl crate::Readable for ROUTEPEN {}
236#[doc = "`write(|w| ..)` method takes [routepen::W](routepen::W) writer structure"]
237impl crate::Writable for ROUTEPEN {}
238#[doc = "I/O Routing Pin Enable Register"]
239pub mod routepen;
240#[doc = "I/O Routing Location 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 available fields see [routeloc0](routeloc0) module"]
241pub type ROUTELOC0 = crate::Reg<u32, _ROUTELOC0>;
242#[allow(missing_docs)]
243#[doc(hidden)]
244pub struct _ROUTELOC0;
245#[doc = "`read()` method returns [routeloc0::R](routeloc0::R) reader structure"]
246impl crate::Readable for ROUTELOC0 {}
247#[doc = "`write(|w| ..)` method takes [routeloc0::W](routeloc0::W) writer structure"]
248impl crate::Writable for ROUTELOC0 {}
249#[doc = "I/O Routing Location Register"]
250pub mod routeloc0;
251#[doc = "LEUART Input 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 available fields see [input](input) module"]
252pub type INPUT = crate::Reg<u32, _INPUT>;
253#[allow(missing_docs)]
254#[doc(hidden)]
255pub struct _INPUT;
256#[doc = "`read()` method returns [input::R](input::R) reader structure"]
257impl crate::Readable for INPUT {}
258#[doc = "`write(|w| ..)` method takes [input::W](input::W) writer structure"]
259impl crate::Writable for INPUT {}
260#[doc = "LEUART Input Register"]
261pub mod input;