efm32g230_pac/
leuart1.rs

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