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 - Input Selection Register"]
7 pub inputsel: crate::Reg<inputsel::INPUTSEL_SPEC>,
8 #[doc = "0x08 - Status Register"]
9 pub status: crate::Reg<status::STATUS_SPEC>,
10 #[doc = "0x0c - Interrupt Enable Register"]
11 pub ien: crate::Reg<ien::IEN_SPEC>,
12 #[doc = "0x10 - Interrupt Flag Register"]
13 pub if_: crate::Reg<if_::IF_SPEC>,
14 #[doc = "0x14 - Interrupt Flag Set Register"]
15 pub ifs: crate::Reg<ifs::IFS_SPEC>,
16 #[doc = "0x18 - Interrupt Flag Clear Register"]
17 pub ifc: crate::Reg<ifc::IFC_SPEC>,
18}
19#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
20pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
21#[doc = "Control Register"]
22pub mod ctrl;
23#[doc = "INPUTSEL register accessor: an alias for `Reg<INPUTSEL_SPEC>`"]
24pub type INPUTSEL = crate::Reg<inputsel::INPUTSEL_SPEC>;
25#[doc = "Input Selection Register"]
26pub mod inputsel;
27#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
28pub type STATUS = crate::Reg<status::STATUS_SPEC>;
29#[doc = "Status Register"]
30pub mod status;
31#[doc = "IEN register accessor: an alias for `Reg<IEN_SPEC>`"]
32pub type IEN = crate::Reg<ien::IEN_SPEC>;
33#[doc = "Interrupt Enable Register"]
34pub mod ien;
35#[doc = "IF register accessor: an alias for `Reg<IF_SPEC>`"]
36pub type IF = crate::Reg<if_::IF_SPEC>;
37#[doc = "Interrupt Flag Register"]
38pub mod if_;
39#[doc = "IFS register accessor: an alias for `Reg<IFS_SPEC>`"]
40pub type IFS = crate::Reg<ifs::IFS_SPEC>;
41#[doc = "Interrupt Flag Set Register"]
42pub mod ifs;
43#[doc = "IFC register accessor: an alias for `Reg<IFC_SPEC>`"]
44pub type IFC = crate::Reg<ifc::IFC_SPEC>;
45#[doc = "Interrupt Flag Clear Register"]
46pub mod ifc;