ra6m2/
icu.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00..0x10 - IRQ Control Register %s"]
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"]
20    pub wupen: WUPEN,
21    _reserved6: [u8; 0x5c],
22    #[doc = "0x200 - SYS Event Link Setting Register"]
23    pub selsr0: SELSR0,
24    _reserved7: [u8; 0x7e],
25    #[doc = "0x280..0x2a0 - DMAC Event Link Setting Register %s"]
26    pub delsr: [DELSR; 8],
27    _reserved8: [u8; 0x60],
28    #[doc = "0x300..0x480 - INT Event Link Setting Register %s"]
29    pub ielsr: [IELSR; 96],
30}
31#[doc = "IRQCR (rw) register accessor: an alias for `Reg<IRQCR_SPEC>`"]
32pub type IRQCR = crate::Reg<irqcr::IRQCR_SPEC>;
33#[doc = "IRQ Control Register %s"]
34pub mod irqcr;
35#[doc = "NMISR (r) register accessor: an alias for `Reg<NMISR_SPEC>`"]
36pub type NMISR = crate::Reg<nmisr::NMISR_SPEC>;
37#[doc = "Non-Maskable Interrupt Status Register"]
38pub mod nmisr;
39#[doc = "NMIER (rw) register accessor: an alias for `Reg<NMIER_SPEC>`"]
40pub type NMIER = crate::Reg<nmier::NMIER_SPEC>;
41#[doc = "Non-Maskable Interrupt Enable Register"]
42pub mod nmier;
43#[doc = "NMICLR (w) register accessor: an alias for `Reg<NMICLR_SPEC>`"]
44pub type NMICLR = crate::Reg<nmiclr::NMICLR_SPEC>;
45#[doc = "Non-Maskable Interrupt Status Clear Register"]
46pub mod nmiclr;
47#[doc = "NMICR (rw) register accessor: an alias for `Reg<NMICR_SPEC>`"]
48pub type NMICR = crate::Reg<nmicr::NMICR_SPEC>;
49#[doc = "NMI Pin Interrupt Control Register"]
50pub mod nmicr;
51#[doc = "IELSR (rw) register accessor: an alias for `Reg<IELSR_SPEC>`"]
52pub type IELSR = crate::Reg<ielsr::IELSR_SPEC>;
53#[doc = "INT Event Link Setting Register %s"]
54pub mod ielsr;
55#[doc = "DELSR (rw) register accessor: an alias for `Reg<DELSR_SPEC>`"]
56pub type DELSR = crate::Reg<delsr::DELSR_SPEC>;
57#[doc = "DMAC Event Link Setting Register %s"]
58pub mod delsr;
59#[doc = "SELSR0 (rw) register accessor: an alias for `Reg<SELSR0_SPEC>`"]
60pub type SELSR0 = crate::Reg<selsr0::SELSR0_SPEC>;
61#[doc = "SYS Event Link Setting Register"]
62pub mod selsr0;
63#[doc = "WUPEN (rw) register accessor: an alias for `Reg<WUPEN_SPEC>`"]
64pub type WUPEN = crate::Reg<wupen::WUPEN_SPEC>;
65#[doc = "Wake Up interrupt enable register"]
66pub mod wupen;