efm32wg230_pac/
leuart1.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
6 #[doc = "0x04 - Command Register"]
7 pub cmd: crate::Reg<cmd::CMD_SPEC>,
8 #[doc = "0x08 - Status Register"]
9 pub status: crate::Reg<status::STATUS_SPEC>,
10 #[doc = "0x0c - Clock Control Register"]
11 pub clkdiv: crate::Reg<clkdiv::CLKDIV_SPEC>,
12 #[doc = "0x10 - Start Frame Register"]
13 pub startframe: crate::Reg<startframe::STARTFRAME_SPEC>,
14 #[doc = "0x14 - Signal Frame Register"]
15 pub sigframe: crate::Reg<sigframe::SIGFRAME_SPEC>,
16 #[doc = "0x18 - Receive Buffer Data Extended Register"]
17 pub rxdatax: crate::Reg<rxdatax::RXDATAX_SPEC>,
18 #[doc = "0x1c - Receive Buffer Data Register"]
19 pub rxdata: crate::Reg<rxdata::RXDATA_SPEC>,
20 #[doc = "0x20 - Receive Buffer Data Extended Peek Register"]
21 pub rxdataxp: crate::Reg<rxdataxp::RXDATAXP_SPEC>,
22 #[doc = "0x24 - Transmit Buffer Data Extended Register"]
23 pub txdatax: crate::Reg<txdatax::TXDATAX_SPEC>,
24 #[doc = "0x28 - Transmit Buffer Data Register"]
25 pub txdata: crate::Reg<txdata::TXDATA_SPEC>,
26 #[doc = "0x2c - Interrupt Flag Register"]
27 pub if_: crate::Reg<if_::IF_SPEC>,
28 #[doc = "0x30 - Interrupt Flag Set Register"]
29 pub ifs: crate::Reg<ifs::IFS_SPEC>,
30 #[doc = "0x34 - Interrupt Flag Clear Register"]
31 pub ifc: crate::Reg<ifc::IFC_SPEC>,
32 #[doc = "0x38 - Interrupt Enable Register"]
33 pub ien: crate::Reg<ien::IEN_SPEC>,
34 #[doc = "0x3c - Pulse Control Register"]
35 pub pulsectrl: crate::Reg<pulsectrl::PULSECTRL_SPEC>,
36 #[doc = "0x40 - Freeze Register"]
37 pub freeze: crate::Reg<freeze::FREEZE_SPEC>,
38 #[doc = "0x44 - Synchronization Busy Register"]
39 pub syncbusy: crate::Reg<syncbusy::SYNCBUSY_SPEC>,
40 _reserved18: [u8; 0x0c],
41 #[doc = "0x54 - I/O Routing Register"]
42 pub route: crate::Reg<route::ROUTE_SPEC>,
43 _reserved19: [u8; 0x54],
44 #[doc = "0xac - LEUART Input Register"]
45 pub input: crate::Reg<input::INPUT_SPEC>,
46}
47#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
48pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
49#[doc = "Control Register"]
50pub mod ctrl;
51#[doc = "CMD register accessor: an alias for `Reg<CMD_SPEC>`"]
52pub type CMD = crate::Reg<cmd::CMD_SPEC>;
53#[doc = "Command Register"]
54pub mod cmd;
55#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
56pub type STATUS = crate::Reg<status::STATUS_SPEC>;
57#[doc = "Status Register"]
58pub mod status;
59#[doc = "CLKDIV register accessor: an alias for `Reg<CLKDIV_SPEC>`"]
60pub type CLKDIV = crate::Reg<clkdiv::CLKDIV_SPEC>;
61#[doc = "Clock Control Register"]
62pub mod clkdiv;
63#[doc = "STARTFRAME register accessor: an alias for `Reg<STARTFRAME_SPEC>`"]
64pub type STARTFRAME = crate::Reg<startframe::STARTFRAME_SPEC>;
65#[doc = "Start Frame Register"]
66pub mod startframe;
67#[doc = "SIGFRAME register accessor: an alias for `Reg<SIGFRAME_SPEC>`"]
68pub type SIGFRAME = crate::Reg<sigframe::SIGFRAME_SPEC>;
69#[doc = "Signal Frame Register"]
70pub mod sigframe;
71#[doc = "RXDATAX register accessor: an alias for `Reg<RXDATAX_SPEC>`"]
72pub type RXDATAX = crate::Reg<rxdatax::RXDATAX_SPEC>;
73#[doc = "Receive Buffer Data Extended Register"]
74pub mod rxdatax;
75#[doc = "RXDATA register accessor: an alias for `Reg<RXDATA_SPEC>`"]
76pub type RXDATA = crate::Reg<rxdata::RXDATA_SPEC>;
77#[doc = "Receive Buffer Data Register"]
78pub mod rxdata;
79#[doc = "RXDATAXP register accessor: an alias for `Reg<RXDATAXP_SPEC>`"]
80pub type RXDATAXP = crate::Reg<rxdataxp::RXDATAXP_SPEC>;
81#[doc = "Receive Buffer Data Extended Peek Register"]
82pub mod rxdataxp;
83#[doc = "TXDATAX register accessor: an alias for `Reg<TXDATAX_SPEC>`"]
84pub type TXDATAX = crate::Reg<txdatax::TXDATAX_SPEC>;
85#[doc = "Transmit Buffer Data Extended Register"]
86pub mod txdatax;
87#[doc = "TXDATA register accessor: an alias for `Reg<TXDATA_SPEC>`"]
88pub type TXDATA = crate::Reg<txdata::TXDATA_SPEC>;
89#[doc = "Transmit Buffer Data Register"]
90pub mod txdata;
91#[doc = "IF register accessor: an alias for `Reg<IF_SPEC>`"]
92pub type IF = crate::Reg<if_::IF_SPEC>;
93#[doc = "Interrupt Flag Register"]
94pub mod if_;
95#[doc = "IFS register accessor: an alias for `Reg<IFS_SPEC>`"]
96pub type IFS = crate::Reg<ifs::IFS_SPEC>;
97#[doc = "Interrupt Flag Set Register"]
98pub mod ifs;
99#[doc = "IFC register accessor: an alias for `Reg<IFC_SPEC>`"]
100pub type IFC = crate::Reg<ifc::IFC_SPEC>;
101#[doc = "Interrupt Flag Clear Register"]
102pub mod ifc;
103#[doc = "IEN register accessor: an alias for `Reg<IEN_SPEC>`"]
104pub type IEN = crate::Reg<ien::IEN_SPEC>;
105#[doc = "Interrupt Enable Register"]
106pub mod ien;
107#[doc = "PULSECTRL register accessor: an alias for `Reg<PULSECTRL_SPEC>`"]
108pub type PULSECTRL = crate::Reg<pulsectrl::PULSECTRL_SPEC>;
109#[doc = "Pulse Control Register"]
110pub mod pulsectrl;
111#[doc = "FREEZE register accessor: an alias for `Reg<FREEZE_SPEC>`"]
112pub type FREEZE = crate::Reg<freeze::FREEZE_SPEC>;
113#[doc = "Freeze Register"]
114pub mod freeze;
115#[doc = "SYNCBUSY register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
116pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
117#[doc = "Synchronization Busy Register"]
118pub mod syncbusy;
119#[doc = "ROUTE register accessor: an alias for `Reg<ROUTE_SPEC>`"]
120pub type ROUTE = crate::Reg<route::ROUTE_SPEC>;
121#[doc = "I/O Routing Register"]
122pub mod route;
123#[doc = "INPUT register accessor: an alias for `Reg<INPUT_SPEC>`"]
124pub type INPUT = crate::Reg<input::INPUT_SPEC>;
125#[doc = "LEUART Input Register"]
126pub mod input;