1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control A"]
5 pub ctrla: CTRLA,
6 #[doc = "0x01 - Sleep Configuration"]
7 pub sleepcfg: SLEEPCFG,
8 #[doc = "0x02 - Performance Level Configuration"]
9 pub plcfg: PLCFG,
10 _reserved3: [u8; 0x01],
11 #[doc = "0x04 - Interrupt Enable Clear"]
12 pub intenclr: INTENCLR,
13 #[doc = "0x05 - Interrupt Enable Set"]
14 pub intenset: INTENSET,
15 #[doc = "0x06 - Interrupt Flag Status and Clear"]
16 pub intflag: INTFLAG,
17 _reserved6: [u8; 0x01],
18 #[doc = "0x08 - Standby Configuration"]
19 pub stdbycfg: STDBYCFG,
20 _reserved7: [u8; 0x02],
21 #[doc = "0x0c - Power Switch Acknowledge Delay"]
22 pub pwsakdly: PWSAKDLY,
23}
24#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
25pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
26#[doc = "Control A"]
27pub mod ctrla;
28#[doc = "SLEEPCFG (rw) register accessor: an alias for `Reg<SLEEPCFG_SPEC>`"]
29pub type SLEEPCFG = crate::Reg<sleepcfg::SLEEPCFG_SPEC>;
30#[doc = "Sleep Configuration"]
31pub mod sleepcfg;
32#[doc = "PLCFG (rw) register accessor: an alias for `Reg<PLCFG_SPEC>`"]
33pub type PLCFG = crate::Reg<plcfg::PLCFG_SPEC>;
34#[doc = "Performance Level Configuration"]
35pub mod plcfg;
36#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
37pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
38#[doc = "Interrupt Enable Clear"]
39pub mod intenclr;
40#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
41pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
42#[doc = "Interrupt Enable Set"]
43pub mod intenset;
44#[doc = "INTFLAG (rw) register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
45pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
46#[doc = "Interrupt Flag Status and Clear"]
47pub mod intflag;
48#[doc = "STDBYCFG (rw) register accessor: an alias for `Reg<STDBYCFG_SPEC>`"]
49pub type STDBYCFG = crate::Reg<stdbycfg::STDBYCFG_SPEC>;
50#[doc = "Standby Configuration"]
51pub mod stdbycfg;
52#[doc = "PWSAKDLY (rw) register accessor: an alias for `Reg<PWSAKDLY_SPEC>`"]
53pub type PWSAKDLY = crate::Reg<pwsakdly::PWSAKDLY_SPEC>;
54#[doc = "Power Switch Acknowledge Delay"]
55pub mod pwsakdly;