atsaml21e16b/
gclk.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control"]
5    pub ctrla: CTRLA,
6    _reserved1: [u8; 0x03],
7    #[doc = "0x04 - Synchronization Busy"]
8    pub syncbusy: SYNCBUSY,
9    _reserved2: [u8; 0x18],
10    #[doc = "0x20..0x44 - Generic Clock Generator Control"]
11    pub genctrl: [GENCTRL; 9],
12    _reserved3: [u8; 0x3c],
13    #[doc = "0x80..0x110 - Peripheral Clock Control"]
14    pub pchctrl: [PCHCTRL; 36],
15}
16#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
17pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
18#[doc = "Control"]
19pub mod ctrla;
20#[doc = "SYNCBUSY (r) register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
21pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
22#[doc = "Synchronization Busy"]
23pub mod syncbusy;
24#[doc = "GENCTRL (rw) register accessor: an alias for `Reg<GENCTRL_SPEC>`"]
25pub type GENCTRL = crate::Reg<genctrl::GENCTRL_SPEC>;
26#[doc = "Generic Clock Generator Control"]
27pub mod genctrl;
28#[doc = "PCHCTRL (rw) register accessor: an alias for `Reg<PCHCTRL_SPEC>`"]
29pub type PCHCTRL = crate::Reg<pchctrl::PCHCTRL_SPEC>;
30#[doc = "Peripheral Clock Control"]
31pub mod pchctrl;