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 - External Multipurpose Crystal Oscillator (XOSC) Control"]
13 pub xoscctrl: XOSCCTRL,
14 _reserved5: [u8; 0x02],
15 #[doc = "0x14 - 16MHz Internal Oscillator (OSC16M) Control"]
16 pub osc16mctrl: OSC16MCTRL,
17 _reserved6: [u8; 0x03],
18 #[doc = "0x18 - DFLL48M Control"]
19 pub dfllctrl: DFLLCTRL,
20 _reserved7: [u8; 0x02],
21 #[doc = "0x1c - DFLL48M Value"]
22 pub dfllval: DFLLVAL,
23 #[doc = "0x20 - DFLL48M Multiplier"]
24 pub dfllmul: DFLLMUL,
25 #[doc = "0x24 - DFLL48M Synchronization"]
26 pub dfllsync: DFLLSYNC,
27 _reserved10: [u8; 0x03],
28 #[doc = "0x28 - DPLL Control"]
29 pub dpllctrla: DPLLCTRLA,
30 _reserved11: [u8; 0x03],
31 #[doc = "0x2c - DPLL Ratio Control"]
32 pub dpllratio: DPLLRATIO,
33 #[doc = "0x30 - Digital Core Configuration"]
34 pub dpllctrlb: DPLLCTRLB,
35 #[doc = "0x34 - DPLL Prescaler"]
36 pub dpllpresc: DPLLPRESC,
37 _reserved14: [u8; 0x03],
38 #[doc = "0x38 - DPLL Synchronization Busy"]
39 pub dpllsyncbusy: DPLLSYNCBUSY,
40 _reserved15: [u8; 0x03],
41 #[doc = "0x3c - DPLL Status"]
42 pub dpllstatus: DPLLSTATUS,
43}
44#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
45pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
46#[doc = "Interrupt Enable Clear"]
47pub mod intenclr;
48#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
49pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
50#[doc = "Interrupt Enable Set"]
51pub mod intenset;
52#[doc = "INTFLAG (rw) register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
53pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
54#[doc = "Interrupt Flag Status and Clear"]
55pub mod intflag;
56#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
57pub type STATUS = crate::Reg<status::STATUS_SPEC>;
58#[doc = "Power and Clocks Status"]
59pub mod status;
60#[doc = "XOSCCTRL (rw) register accessor: an alias for `Reg<XOSCCTRL_SPEC>`"]
61pub type XOSCCTRL = crate::Reg<xoscctrl::XOSCCTRL_SPEC>;
62#[doc = "External Multipurpose Crystal Oscillator (XOSC) Control"]
63pub mod xoscctrl;
64#[doc = "OSC16MCTRL (rw) register accessor: an alias for `Reg<OSC16MCTRL_SPEC>`"]
65pub type OSC16MCTRL = crate::Reg<osc16mctrl::OSC16MCTRL_SPEC>;
66#[doc = "16MHz Internal Oscillator (OSC16M) Control"]
67pub mod osc16mctrl;
68#[doc = "DFLLCTRL (rw) register accessor: an alias for `Reg<DFLLCTRL_SPEC>`"]
69pub type DFLLCTRL = crate::Reg<dfllctrl::DFLLCTRL_SPEC>;
70#[doc = "DFLL48M Control"]
71pub mod dfllctrl;
72#[doc = "DFLLVAL (rw) register accessor: an alias for `Reg<DFLLVAL_SPEC>`"]
73pub type DFLLVAL = crate::Reg<dfllval::DFLLVAL_SPEC>;
74#[doc = "DFLL48M Value"]
75pub mod dfllval;
76#[doc = "DFLLMUL (rw) register accessor: an alias for `Reg<DFLLMUL_SPEC>`"]
77pub type DFLLMUL = crate::Reg<dfllmul::DFLLMUL_SPEC>;
78#[doc = "DFLL48M Multiplier"]
79pub mod dfllmul;
80#[doc = "DFLLSYNC (rw) register accessor: an alias for `Reg<DFLLSYNC_SPEC>`"]
81pub type DFLLSYNC = crate::Reg<dfllsync::DFLLSYNC_SPEC>;
82#[doc = "DFLL48M Synchronization"]
83pub mod dfllsync;
84#[doc = "DPLLCTRLA (rw) register accessor: an alias for `Reg<DPLLCTRLA_SPEC>`"]
85pub type DPLLCTRLA = crate::Reg<dpllctrla::DPLLCTRLA_SPEC>;
86#[doc = "DPLL Control"]
87pub mod dpllctrla;
88#[doc = "DPLLRATIO (rw) register accessor: an alias for `Reg<DPLLRATIO_SPEC>`"]
89pub type DPLLRATIO = crate::Reg<dpllratio::DPLLRATIO_SPEC>;
90#[doc = "DPLL Ratio Control"]
91pub mod dpllratio;
92#[doc = "DPLLCTRLB (rw) register accessor: an alias for `Reg<DPLLCTRLB_SPEC>`"]
93pub type DPLLCTRLB = crate::Reg<dpllctrlb::DPLLCTRLB_SPEC>;
94#[doc = "Digital Core Configuration"]
95pub mod dpllctrlb;
96#[doc = "DPLLPRESC (rw) register accessor: an alias for `Reg<DPLLPRESC_SPEC>`"]
97pub type DPLLPRESC = crate::Reg<dpllpresc::DPLLPRESC_SPEC>;
98#[doc = "DPLL Prescaler"]
99pub mod dpllpresc;
100#[doc = "DPLLSYNCBUSY (r) register accessor: an alias for `Reg<DPLLSYNCBUSY_SPEC>`"]
101pub type DPLLSYNCBUSY = crate::Reg<dpllsyncbusy::DPLLSYNCBUSY_SPEC>;
102#[doc = "DPLL Synchronization Busy"]
103pub mod dpllsyncbusy;
104#[doc = "DPLLSTATUS (r) register accessor: an alias for `Reg<DPLLSTATUS_SPEC>`"]
105pub type DPLLSTATUS = crate::Reg<dpllstatus::DPLLSTATUS_SPEC>;
106#[doc = "DPLL Status"]
107pub mod dpllstatus;