efm32gg12b310_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 Pin Enable Register"]
42 pub routepen: crate::Reg<routepen::ROUTEPEN_SPEC>,
43 #[doc = "0x58 - I/O Routing Location Register"]
44 pub routeloc0: crate::Reg<routeloc0::ROUTELOC0_SPEC>,
45 _reserved20: [u8; 0x08],
46 #[doc = "0x64 - LEUART Input Register"]
47 pub input: crate::Reg<input::INPUT_SPEC>,
48}
49#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
50pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
51#[doc = "Control Register"]
52pub mod ctrl;
53#[doc = "CMD register accessor: an alias for `Reg<CMD_SPEC>`"]
54pub type CMD = crate::Reg<cmd::CMD_SPEC>;
55#[doc = "Command Register"]
56pub mod cmd;
57#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
58pub type STATUS = crate::Reg<status::STATUS_SPEC>;
59#[doc = "Status Register"]
60pub mod status;
61#[doc = "CLKDIV register accessor: an alias for `Reg<CLKDIV_SPEC>`"]
62pub type CLKDIV = crate::Reg<clkdiv::CLKDIV_SPEC>;
63#[doc = "Clock Control Register"]
64pub mod clkdiv;
65#[doc = "STARTFRAME register accessor: an alias for `Reg<STARTFRAME_SPEC>`"]
66pub type STARTFRAME = crate::Reg<startframe::STARTFRAME_SPEC>;
67#[doc = "Start Frame Register"]
68pub mod startframe;
69#[doc = "SIGFRAME register accessor: an alias for `Reg<SIGFRAME_SPEC>`"]
70pub type SIGFRAME = crate::Reg<sigframe::SIGFRAME_SPEC>;
71#[doc = "Signal Frame Register"]
72pub mod sigframe;
73#[doc = "RXDATAX register accessor: an alias for `Reg<RXDATAX_SPEC>`"]
74pub type RXDATAX = crate::Reg<rxdatax::RXDATAX_SPEC>;
75#[doc = "Receive Buffer Data Extended Register"]
76pub mod rxdatax;
77#[doc = "RXDATA register accessor: an alias for `Reg<RXDATA_SPEC>`"]
78pub type RXDATA = crate::Reg<rxdata::RXDATA_SPEC>;
79#[doc = "Receive Buffer Data Register"]
80pub mod rxdata;
81#[doc = "RXDATAXP register accessor: an alias for `Reg<RXDATAXP_SPEC>`"]
82pub type RXDATAXP = crate::Reg<rxdataxp::RXDATAXP_SPEC>;
83#[doc = "Receive Buffer Data Extended Peek Register"]
84pub mod rxdataxp;
85#[doc = "TXDATAX register accessor: an alias for `Reg<TXDATAX_SPEC>`"]
86pub type TXDATAX = crate::Reg<txdatax::TXDATAX_SPEC>;
87#[doc = "Transmit Buffer Data Extended Register"]
88pub mod txdatax;
89#[doc = "TXDATA register accessor: an alias for `Reg<TXDATA_SPEC>`"]
90pub type TXDATA = crate::Reg<txdata::TXDATA_SPEC>;
91#[doc = "Transmit Buffer Data Register"]
92pub mod txdata;
93#[doc = "IF register accessor: an alias for `Reg<IF_SPEC>`"]
94pub type IF = crate::Reg<if_::IF_SPEC>;
95#[doc = "Interrupt Flag Register"]
96pub mod if_;
97#[doc = "IFS register accessor: an alias for `Reg<IFS_SPEC>`"]
98pub type IFS = crate::Reg<ifs::IFS_SPEC>;
99#[doc = "Interrupt Flag Set Register"]
100pub mod ifs;
101#[doc = "IFC register accessor: an alias for `Reg<IFC_SPEC>`"]
102pub type IFC = crate::Reg<ifc::IFC_SPEC>;
103#[doc = "Interrupt Flag Clear Register"]
104pub mod ifc;
105#[doc = "IEN register accessor: an alias for `Reg<IEN_SPEC>`"]
106pub type IEN = crate::Reg<ien::IEN_SPEC>;
107#[doc = "Interrupt Enable Register"]
108pub mod ien;
109#[doc = "PULSECTRL register accessor: an alias for `Reg<PULSECTRL_SPEC>`"]
110pub type PULSECTRL = crate::Reg<pulsectrl::PULSECTRL_SPEC>;
111#[doc = "Pulse Control Register"]
112pub mod pulsectrl;
113#[doc = "FREEZE register accessor: an alias for `Reg<FREEZE_SPEC>`"]
114pub type FREEZE = crate::Reg<freeze::FREEZE_SPEC>;
115#[doc = "Freeze Register"]
116pub mod freeze;
117#[doc = "SYNCBUSY register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
118pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
119#[doc = "Synchronization Busy Register"]
120pub mod syncbusy;
121#[doc = "ROUTEPEN register accessor: an alias for `Reg<ROUTEPEN_SPEC>`"]
122pub type ROUTEPEN = crate::Reg<routepen::ROUTEPEN_SPEC>;
123#[doc = "I/O Routing Pin Enable Register"]
124pub mod routepen;
125#[doc = "ROUTELOC0 register accessor: an alias for `Reg<ROUTELOC0_SPEC>`"]
126pub type ROUTELOC0 = crate::Reg<routeloc0::ROUTELOC0_SPEC>;
127#[doc = "I/O Routing Location Register"]
128pub mod routeloc0;
129#[doc = "INPUT register accessor: an alias for `Reg<INPUT_SPEC>`"]
130pub type INPUT = crate::Reg<input::INPUT_SPEC>;
131#[doc = "LEUART Input Register"]
132pub mod input;