1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control A"]
5 pub ctrla: CTRLA,
6 #[doc = "0x01 - Control B"]
7 pub ctrlb: CTRLB,
8 #[doc = "0x02 - Event Control"]
9 pub evctrl: EVCTRL,
10 #[doc = "0x04 - Interrupt Enable Clear"]
11 pub intenclr: INTENCLR,
12 #[doc = "0x05 - Interrupt Enable Set"]
13 pub intenset: INTENSET,
14 #[doc = "0x06 - Interrupt Flag Status and Clear"]
15 pub intflag: INTFLAG,
16 #[doc = "0x07 - Status A"]
17 pub statusa: STATUSA,
18 #[doc = "0x08 - Status B"]
19 pub statusb: STATUSB,
20 #[doc = "0x09 - Debug Control"]
21 pub dbgctrl: DBGCTRL,
22 #[doc = "0x0a - Window Control"]
23 pub winctrl: WINCTRL,
24 _reserved10: [u8; 0x01],
25 #[doc = "0x0c - Scaler n"]
26 pub scaler: [SCALER; 2],
27 _reserved11: [u8; 0x02],
28 #[doc = "0x10..0x18 - Comparator Control n"]
29 pub compctrl: [COMPCTRL; 2],
30 _reserved12: [u8; 0x08],
31 #[doc = "0x20 - Synchronization Busy"]
32 pub syncbusy: SYNCBUSY,
33}
34#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
35pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
36#[doc = "Control A"]
37pub mod ctrla;
38#[doc = "CTRLB (w) register accessor: an alias for `Reg<CTRLB_SPEC>`"]
39pub type CTRLB = crate::Reg<ctrlb::CTRLB_SPEC>;
40#[doc = "Control B"]
41pub mod ctrlb;
42#[doc = "EVCTRL (rw) register accessor: an alias for `Reg<EVCTRL_SPEC>`"]
43pub type EVCTRL = crate::Reg<evctrl::EVCTRL_SPEC>;
44#[doc = "Event Control"]
45pub mod evctrl;
46#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
47pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
48#[doc = "Interrupt Enable Clear"]
49pub mod intenclr;
50#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
51pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
52#[doc = "Interrupt Enable Set"]
53pub mod intenset;
54#[doc = "INTFLAG (rw) register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
55pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
56#[doc = "Interrupt Flag Status and Clear"]
57pub mod intflag;
58#[doc = "STATUSA (r) register accessor: an alias for `Reg<STATUSA_SPEC>`"]
59pub type STATUSA = crate::Reg<statusa::STATUSA_SPEC>;
60#[doc = "Status A"]
61pub mod statusa;
62#[doc = "STATUSB (r) register accessor: an alias for `Reg<STATUSB_SPEC>`"]
63pub type STATUSB = crate::Reg<statusb::STATUSB_SPEC>;
64#[doc = "Status B"]
65pub mod statusb;
66#[doc = "DBGCTRL (rw) register accessor: an alias for `Reg<DBGCTRL_SPEC>`"]
67pub type DBGCTRL = crate::Reg<dbgctrl::DBGCTRL_SPEC>;
68#[doc = "Debug Control"]
69pub mod dbgctrl;
70#[doc = "WINCTRL (rw) register accessor: an alias for `Reg<WINCTRL_SPEC>`"]
71pub type WINCTRL = crate::Reg<winctrl::WINCTRL_SPEC>;
72#[doc = "Window Control"]
73pub mod winctrl;
74#[doc = "SCALER (rw) register accessor: an alias for `Reg<SCALER_SPEC>`"]
75pub type SCALER = crate::Reg<scaler::SCALER_SPEC>;
76#[doc = "Scaler n"]
77pub mod scaler;
78#[doc = "COMPCTRL (rw) register accessor: an alias for `Reg<COMPCTRL_SPEC>`"]
79pub type COMPCTRL = crate::Reg<compctrl::COMPCTRL_SPEC>;
80#[doc = "Comparator Control n"]
81pub mod compctrl;
82#[doc = "SYNCBUSY (r) register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
83pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
84#[doc = "Synchronization Busy"]
85pub mod syncbusy;