1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control"]
5 pub ctrla: CTRLA,
6 _reserved1: [u8; 0x0b],
7 #[doc = "0x0c - Channel Status"]
8 pub chstatus: CHSTATUS,
9 #[doc = "0x10 - Interrupt Enable Clear"]
10 pub intenclr: INTENCLR,
11 #[doc = "0x14 - Interrupt Enable Set"]
12 pub intenset: INTENSET,
13 #[doc = "0x18 - Interrupt Flag Status and Clear"]
14 pub intflag: INTFLAG,
15 #[doc = "0x1c - Software Event"]
16 pub swevt: SWEVT,
17 #[doc = "0x20..0x50 - Channel n"]
18 pub channel: [CHANNEL; 12],
19 _reserved7: [u8; 0x30],
20 #[doc = "0x80..0x134 - User Multiplexer n"]
21 pub user: [USER; 45],
22}
23#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
24pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
25#[doc = "Control"]
26pub mod ctrla;
27#[doc = "CHSTATUS (r) register accessor: an alias for `Reg<CHSTATUS_SPEC>`"]
28pub type CHSTATUS = crate::Reg<chstatus::CHSTATUS_SPEC>;
29#[doc = "Channel Status"]
30pub mod chstatus;
31#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
32pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
33#[doc = "Interrupt Enable Clear"]
34pub mod intenclr;
35#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
36pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
37#[doc = "Interrupt Enable Set"]
38pub mod intenset;
39#[doc = "INTFLAG (rw) register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
40pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
41#[doc = "Interrupt Flag Status and Clear"]
42pub mod intflag;
43#[doc = "SWEVT (w) register accessor: an alias for `Reg<SWEVT_SPEC>`"]
44pub type SWEVT = crate::Reg<swevt::SWEVT_SPEC>;
45#[doc = "Software Event"]
46pub mod swevt;
47#[doc = "CHANNEL (rw) register accessor: an alias for `Reg<CHANNEL_SPEC>`"]
48pub type CHANNEL = crate::Reg<channel::CHANNEL_SPEC>;
49#[doc = "Channel n"]
50pub mod channel;
51#[doc = "USER (rw) register accessor: an alias for `Reg<USER_SPEC>`"]
52pub type USER = crate::Reg<user::USER_SPEC>;
53#[doc = "User Multiplexer n"]
54pub mod user;