1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Configuration Register"]
5 pub cfg: CFG,
6 #[doc = "0x04 - Control Register"]
7 pub cr: CR,
8 #[doc = "0x08 - Interrupt Enable Register"]
9 pub ier: IER,
10 #[doc = "0x0c - Interrupt Disable Register"]
11 pub idr: IDR,
12 #[doc = "0x10 - Interrupt Mask Register"]
13 pub imr: IMR,
14 #[doc = "0x14 - Status Register"]
15 pub sr: SR,
16 #[doc = "0x18 - Interrupt Status Clear Register"]
17 pub icr: ICR,
18 #[doc = "0x1c - Receive Holding Register"]
19 pub rhr: RHR,
20 #[doc = "0x20 - Version Register"]
21 pub version: VERSION,
22}
23#[doc = "CFG (rw) register accessor: an alias for `Reg<CFG_SPEC>`"]
24pub type CFG = crate::Reg<cfg::CFG_SPEC>;
25#[doc = "Configuration Register"]
26pub mod cfg;
27#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
28pub type CR = crate::Reg<cr::CR_SPEC>;
29#[doc = "Control Register"]
30pub mod cr;
31#[doc = "ICR (w) register accessor: an alias for `Reg<ICR_SPEC>`"]
32pub type ICR = crate::Reg<icr::ICR_SPEC>;
33#[doc = "Interrupt Status Clear Register"]
34pub mod icr;
35#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
36pub type IDR = crate::Reg<idr::IDR_SPEC>;
37#[doc = "Interrupt Disable Register"]
38pub mod idr;
39#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
40pub type IER = crate::Reg<ier::IER_SPEC>;
41#[doc = "Interrupt Enable Register"]
42pub mod ier;
43#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
44pub type IMR = crate::Reg<imr::IMR_SPEC>;
45#[doc = "Interrupt Mask Register"]
46pub mod imr;
47#[doc = "RHR (r) register accessor: an alias for `Reg<RHR_SPEC>`"]
48pub type RHR = crate::Reg<rhr::RHR_SPEC>;
49#[doc = "Receive Holding Register"]
50pub mod rhr;
51#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
52pub type SR = crate::Reg<sr::SR_SPEC>;
53#[doc = "Status Register"]
54pub mod sr;
55#[doc = "VERSION (r) register accessor: an alias for `Reg<VERSION_SPEC>`"]
56pub type VERSION = crate::Reg<version::VERSION_SPEC>;
57#[doc = "Version Register"]
58pub mod version;