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