diff options
| author | Arne Dußin | 2021-11-06 11:50:33 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-11-06 11:50:33 +0100 |
| commit | 0666a6ba1dbd66cf8b93c113e362ccbcd99152a0 (patch) | |
| tree | a184284dbd2316f4624f092e4e7521ea8c90855b /src/osc32kctrl.rs | |
| download | samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.tar.gz samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.zip | |
Initial commit
Diffstat (limited to 'src/osc32kctrl.rs')
| -rw-r--r-- | src/osc32kctrl.rs | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/osc32kctrl.rs b/src/osc32kctrl.rs new file mode 100644 index 0000000..263cd2f --- /dev/null +++ b/src/osc32kctrl.rs @@ -0,0 +1,64 @@ +#[doc = r"Register block"] +#[repr(C)] +pub struct RegisterBlock { + #[doc = "0x00 - Interrupt Enable Clear"] + pub intenclr: crate::Reg<intenclr::INTENCLR_SPEC>, + #[doc = "0x04 - Interrupt Enable Set"] + pub intenset: crate::Reg<intenset::INTENSET_SPEC>, + #[doc = "0x08 - Interrupt Flag Status and Clear"] + pub intflag: crate::Reg<intflag::INTFLAG_SPEC>, + #[doc = "0x0c - Power and Clocks Status"] + pub status: crate::Reg<status::STATUS_SPEC>, + #[doc = "0x10 - Clock selection"] + pub rtcctrl: crate::Reg<rtcctrl::RTCCTRL_SPEC>, + #[doc = "0x14 - 32kHz External Crystal Oscillator (XOSC32K) Control"] + pub xosc32k: crate::Reg<xosc32k::XOSC32K_SPEC>, + #[doc = "0x16 - Clock Failure Detector Control"] + pub cfdctrl: crate::Reg<cfdctrl::CFDCTRL_SPEC>, + #[doc = "0x17 - Event Control"] + pub evctrl: crate::Reg<evctrl::EVCTRL_SPEC>, + #[doc = "0x18 - 32kHz Internal Oscillator (OSC32K) Control"] + pub osc32k: crate::Reg<osc32k::OSC32K_SPEC>, + #[doc = "0x1c - 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control"] + pub osculp32k: crate::Reg<osculp32k::OSCULP32K_SPEC>, +} +#[doc = "INTENCLR register accessor: an alias for `Reg<INTENCLR_SPEC>`"] +pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>; +#[doc = "Interrupt Enable Clear"] +pub mod intenclr; +#[doc = "INTENSET register accessor: an alias for `Reg<INTENSET_SPEC>`"] +pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>; +#[doc = "Interrupt Enable Set"] +pub mod intenset; +#[doc = "INTFLAG register accessor: an alias for `Reg<INTFLAG_SPEC>`"] +pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>; +#[doc = "Interrupt Flag Status and Clear"] +pub mod intflag; +#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"] +pub type STATUS = crate::Reg<status::STATUS_SPEC>; +#[doc = "Power and Clocks Status"] +pub mod status; +#[doc = "RTCCTRL register accessor: an alias for `Reg<RTCCTRL_SPEC>`"] +pub type RTCCTRL = crate::Reg<rtcctrl::RTCCTRL_SPEC>; +#[doc = "Clock selection"] +pub mod rtcctrl; +#[doc = "XOSC32K register accessor: an alias for `Reg<XOSC32K_SPEC>`"] +pub type XOSC32K = crate::Reg<xosc32k::XOSC32K_SPEC>; +#[doc = "32kHz External Crystal Oscillator (XOSC32K) Control"] +pub mod xosc32k; +#[doc = "CFDCTRL register accessor: an alias for `Reg<CFDCTRL_SPEC>`"] +pub type CFDCTRL = crate::Reg<cfdctrl::CFDCTRL_SPEC>; +#[doc = "Clock Failure Detector Control"] +pub mod cfdctrl; +#[doc = "EVCTRL register accessor: an alias for `Reg<EVCTRL_SPEC>`"] +pub type EVCTRL = crate::Reg<evctrl::EVCTRL_SPEC>; +#[doc = "Event Control"] +pub mod evctrl; +#[doc = "OSC32K register accessor: an alias for `Reg<OSC32K_SPEC>`"] +pub type OSC32K = crate::Reg<osc32k::OSC32K_SPEC>; +#[doc = "32kHz Internal Oscillator (OSC32K) Control"] +pub mod osc32k; +#[doc = "OSCULP32K register accessor: an alias for `Reg<OSCULP32K_SPEC>`"] +pub type OSCULP32K = crate::Reg<osculp32k::OSCULP32K_SPEC>; +#[doc = "32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control"] +pub mod osculp32k; |
