atsaml21j17b/
supc.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Interrupt Enable Clear"]
5    pub intenclr: INTENCLR,
6    #[doc = "0x04 - Interrupt Enable Set"]
7    pub intenset: INTENSET,
8    #[doc = "0x08 - Interrupt Flag Status and Clear"]
9    pub intflag: INTFLAG,
10    #[doc = "0x0c - Power and Clocks Status"]
11    pub status: STATUS,
12    #[doc = "0x10 - BOD33 Control"]
13    pub bod33: BOD33,
14    #[doc = "0x14 - BOD12 Control"]
15    pub bod12: BOD12,
16    #[doc = "0x18 - VREG Control"]
17    pub vreg: VREG,
18    #[doc = "0x1c - VREF Control"]
19    pub vref: VREF,
20    #[doc = "0x20 - Battery Backup Power Switch"]
21    pub bbps: BBPS,
22    #[doc = "0x24 - Backup Output Control"]
23    pub bkout: BKOUT,
24    #[doc = "0x28 - Backup Input Control"]
25    pub bkin: BKIN,
26}
27#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
28pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
29#[doc = "Interrupt Enable Clear"]
30pub mod intenclr;
31#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
32pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
33#[doc = "Interrupt Enable Set"]
34pub mod intenset;
35#[doc = "INTFLAG (rw) register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
36pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
37#[doc = "Interrupt Flag Status and Clear"]
38pub mod intflag;
39#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
40pub type STATUS = crate::Reg<status::STATUS_SPEC>;
41#[doc = "Power and Clocks Status"]
42pub mod status;
43#[doc = "BOD33 (rw) register accessor: an alias for `Reg<BOD33_SPEC>`"]
44pub type BOD33 = crate::Reg<bod33::BOD33_SPEC>;
45#[doc = "BOD33 Control"]
46pub mod bod33;
47#[doc = "BOD12 (rw) register accessor: an alias for `Reg<BOD12_SPEC>`"]
48pub type BOD12 = crate::Reg<bod12::BOD12_SPEC>;
49#[doc = "BOD12 Control"]
50pub mod bod12;
51#[doc = "VREG (rw) register accessor: an alias for `Reg<VREG_SPEC>`"]
52pub type VREG = crate::Reg<vreg::VREG_SPEC>;
53#[doc = "VREG Control"]
54pub mod vreg;
55#[doc = "VREF (rw) register accessor: an alias for `Reg<VREF_SPEC>`"]
56pub type VREF = crate::Reg<vref::VREF_SPEC>;
57#[doc = "VREF Control"]
58pub mod vref;
59#[doc = "BBPS (rw) register accessor: an alias for `Reg<BBPS_SPEC>`"]
60pub type BBPS = crate::Reg<bbps::BBPS_SPEC>;
61#[doc = "Battery Backup Power Switch"]
62pub mod bbps;
63#[doc = "BKOUT (rw) register accessor: an alias for `Reg<BKOUT_SPEC>`"]
64pub type BKOUT = crate::Reg<bkout::BKOUT_SPEC>;
65#[doc = "Backup Output Control"]
66pub mod bkout;
67#[doc = "BKIN (r) register accessor: an alias for `Reg<BKIN_SPEC>`"]
68pub type BKIN = crate::Reg<bkin::BKIN_SPEC>;
69#[doc = "Backup Input Control"]
70pub mod bkin;