ra6m4/
icu.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00..0x10 - IRQ Control Register"]
5    pub irqcr: [IRQCR; 16],
6    _reserved1: [u8; 0xf0],
7    #[doc = "0x100 - NMI Pin Interrupt Control Register"]
8    pub nmicr: NMICR,
9    _reserved2: [u8; 0x1f],
10    #[doc = "0x120 - Non-Maskable Interrupt Enable Register"]
11    pub nmier: NMIER,
12    _reserved3: [u8; 0x0e],
13    #[doc = "0x130 - Non-Maskable Interrupt Status Clear Register"]
14    pub nmiclr: NMICLR,
15    _reserved4: [u8; 0x0e],
16    #[doc = "0x140 - Non-Maskable Interrupt Status Register"]
17    pub nmisr: NMISR,
18    _reserved5: [u8; 0x5e],
19    #[doc = "0x1a0 - Wake Up Interrupt Enable Register 0"]
20    pub wupen0: WUPEN0,
21    #[doc = "0x1a4 - Wake Up interrupt enable register 1"]
22    pub wupen1: WUPEN1,
23    _reserved7: [u8; 0x58],
24    #[doc = "0x200 - SYS Event Link Setting Register"]
25    pub selsr0: SELSR0,
26    _reserved8: [u8; 0x7e],
27    #[doc = "0x280..0x2a0 - DMAC Event Link Setting Register %s"]
28    pub delsr: [DELSR; 8],
29    _reserved9: [u8; 0x60],
30    #[doc = "0x300..0x480 - ICU Event Link Setting Register %s"]
31    pub ielsr: [IELSR; 96],
32}
33#[doc = "IRQCR (rw) register accessor: an alias for `Reg<IRQCR_SPEC>`"]
34pub type IRQCR = crate::Reg<irqcr::IRQCR_SPEC>;
35#[doc = "IRQ Control Register"]
36pub mod irqcr;
37#[doc = "NMICR (rw) register accessor: an alias for `Reg<NMICR_SPEC>`"]
38pub type NMICR = crate::Reg<nmicr::NMICR_SPEC>;
39#[doc = "NMI Pin Interrupt Control Register"]
40pub mod nmicr;
41#[doc = "NMIER (rw) register accessor: an alias for `Reg<NMIER_SPEC>`"]
42pub type NMIER = crate::Reg<nmier::NMIER_SPEC>;
43#[doc = "Non-Maskable Interrupt Enable Register"]
44pub mod nmier;
45#[doc = "NMICLR (rw) register accessor: an alias for `Reg<NMICLR_SPEC>`"]
46pub type NMICLR = crate::Reg<nmiclr::NMICLR_SPEC>;
47#[doc = "Non-Maskable Interrupt Status Clear Register"]
48pub mod nmiclr;
49#[doc = "NMISR (r) register accessor: an alias for `Reg<NMISR_SPEC>`"]
50pub type NMISR = crate::Reg<nmisr::NMISR_SPEC>;
51#[doc = "Non-Maskable Interrupt Status Register"]
52pub mod nmisr;
53#[doc = "WUPEN0 (rw) register accessor: an alias for `Reg<WUPEN0_SPEC>`"]
54pub type WUPEN0 = crate::Reg<wupen0::WUPEN0_SPEC>;
55#[doc = "Wake Up Interrupt Enable Register 0"]
56pub mod wupen0;
57#[doc = "WUPEN1 (rw) register accessor: an alias for `Reg<WUPEN1_SPEC>`"]
58pub type WUPEN1 = crate::Reg<wupen1::WUPEN1_SPEC>;
59#[doc = "Wake Up interrupt enable register 1"]
60pub mod wupen1;
61#[doc = "SELSR0 (rw) register accessor: an alias for `Reg<SELSR0_SPEC>`"]
62pub type SELSR0 = crate::Reg<selsr0::SELSR0_SPEC>;
63#[doc = "SYS Event Link Setting Register"]
64pub mod selsr0;
65#[doc = "DELSR (rw) register accessor: an alias for `Reg<DELSR_SPEC>`"]
66pub type DELSR = crate::Reg<delsr::DELSR_SPEC>;
67#[doc = "DMAC Event Link Setting Register %s"]
68pub mod delsr;
69#[doc = "IELSR (rw) register accessor: an alias for `Reg<IELSR_SPEC>`"]
70pub type IELSR = crate::Reg<ielsr::IELSR_SPEC>;
71#[doc = "ICU Event Link Setting Register %s"]
72pub mod ielsr;