1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - EN register"]
5 pub en: EN,
6 #[doc = "0x04 - IE register"]
7 pub ie: IE,
8 #[doc = "0x08 - IM register"]
9 pub im: IM,
10 #[doc = "0x0c - IF register"]
11 pub if_: IF,
12 #[doc = "0x10 - DSTSGIE register"]
13 pub dstsgie: DSTSGIE,
14 #[doc = "0x14 - DSTSGIM register"]
15 pub dstsgim: DSTSGIM,
16 #[doc = "0x18 - DSTSGIF register"]
17 pub dstsgif: DSTSGIF,
18 #[doc = "0x1c - SRCSGIE register"]
19 pub srcsgie: SRCSGIE,
20 #[doc = "0x20 - SRCSGIM register"]
21 pub srcsgim: SRCSGIM,
22 #[doc = "0x24 - SRCSGIF register"]
23 pub srcsgif: SRCSGIF,
24 _reserved10: [u8; 0x14],
25 #[doc = "0x3c - PRI register"]
26 pub pri: PRI,
27 #[doc = "0x40..0x74 - register cluster"]
28 pub ch0: CH0,
29 _reserved12: [u8; 0x0c],
30 #[doc = "0x80..0xb4 - register cluster"]
31 pub ch1: CH1,
32 _reserved13: [u8; 0x0c],
33 #[doc = "0xc0..0xf4 - register cluster"]
34 pub ch2: CH2,
35 _reserved14: [u8; 0x0c],
36 #[doc = "0x100..0x134 - register cluster"]
37 pub ch3: CH3,
38}
39#[doc = "EN (rw) register accessor: an alias for `Reg<EN_SPEC>`"]
40pub type EN = crate::Reg<en::EN_SPEC>;
41#[doc = "EN register"]
42pub mod en;
43#[doc = "IE (rw) register accessor: an alias for `Reg<IE_SPEC>`"]
44pub type IE = crate::Reg<ie::IE_SPEC>;
45#[doc = "IE register"]
46pub mod ie;
47#[doc = "IM (rw) register accessor: an alias for `Reg<IM_SPEC>`"]
48pub type IM = crate::Reg<im::IM_SPEC>;
49#[doc = "IM register"]
50pub mod im;
51#[doc = "IF (rw) register accessor: an alias for `Reg<IF_SPEC>`"]
52pub type IF = crate::Reg<if_::IF_SPEC>;
53#[doc = "IF register"]
54pub mod if_;
55#[doc = "DSTSGIE (rw) register accessor: an alias for `Reg<DSTSGIE_SPEC>`"]
56pub type DSTSGIE = crate::Reg<dstsgie::DSTSGIE_SPEC>;
57#[doc = "DSTSGIE register"]
58pub mod dstsgie;
59#[doc = "DSTSGIM (rw) register accessor: an alias for `Reg<DSTSGIM_SPEC>`"]
60pub type DSTSGIM = crate::Reg<dstsgim::DSTSGIM_SPEC>;
61#[doc = "DSTSGIM register"]
62pub mod dstsgim;
63#[doc = "DSTSGIF (rw) register accessor: an alias for `Reg<DSTSGIF_SPEC>`"]
64pub type DSTSGIF = crate::Reg<dstsgif::DSTSGIF_SPEC>;
65#[doc = "DSTSGIF register"]
66pub mod dstsgif;
67#[doc = "SRCSGIE (rw) register accessor: an alias for `Reg<SRCSGIE_SPEC>`"]
68pub type SRCSGIE = crate::Reg<srcsgie::SRCSGIE_SPEC>;
69#[doc = "SRCSGIE register"]
70pub mod srcsgie;
71#[doc = "SRCSGIM (rw) register accessor: an alias for `Reg<SRCSGIM_SPEC>`"]
72pub type SRCSGIM = crate::Reg<srcsgim::SRCSGIM_SPEC>;
73#[doc = "SRCSGIM register"]
74pub mod srcsgim;
75#[doc = "SRCSGIF (rw) register accessor: an alias for `Reg<SRCSGIF_SPEC>`"]
76pub type SRCSGIF = crate::Reg<srcsgif::SRCSGIF_SPEC>;
77#[doc = "SRCSGIF register"]
78pub mod srcsgif;
79#[doc = "PRI (rw) register accessor: an alias for `Reg<PRI_SPEC>`"]
80pub type PRI = crate::Reg<pri::PRI_SPEC>;
81#[doc = "PRI register"]
82pub mod pri;
83#[doc = "register cluster"]
84pub use ch0::CH0;
85#[doc = r"Cluster"]
86#[doc = "register cluster"]
87pub mod ch0;
88#[doc = "register cluster"]
89pub use ch1::CH1;
90#[doc = r"Cluster"]
91#[doc = "register cluster"]
92pub mod ch1;
93#[doc = "register cluster"]
94pub use ch2::CH2;
95#[doc = r"Cluster"]
96#[doc = "register cluster"]
97pub mod ch2;
98#[doc = "register cluster"]
99pub use ch3::CH3;
100#[doc = r"Cluster"]
101#[doc = "register cluster"]
102pub mod ch3;