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/supc.rs | |
| download | samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.tar.gz samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.zip | |
Initial commit
Diffstat (limited to 'src/supc.rs')
| -rw-r--r-- | src/supc.rs | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/supc.rs b/src/supc.rs new file mode 100644 index 0000000..0ad1d12 --- /dev/null +++ b/src/supc.rs @@ -0,0 +1,53 @@ +#[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 - BODVDD Control"] + pub bodvdd: crate::Reg<bodvdd::BODVDD_SPEC>, + _reserved5: [u8; 0x04], + #[doc = "0x18 - VREG Control"] + pub vreg: crate::Reg<vreg::VREG_SPEC>, + #[doc = "0x1c - VREF Control"] + pub vref: crate::Reg<vref::VREF_SPEC>, + #[doc = "0x20 - VREG33 Control"] + pub vreg33: crate::Reg<vreg33::VREG33_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 = "BODVDD register accessor: an alias for `Reg<BODVDD_SPEC>`"] +pub type BODVDD = crate::Reg<bodvdd::BODVDD_SPEC>; +#[doc = "BODVDD Control"] +pub mod bodvdd; +#[doc = "VREG register accessor: an alias for `Reg<VREG_SPEC>`"] +pub type VREG = crate::Reg<vreg::VREG_SPEC>; +#[doc = "VREG Control"] +pub mod vreg; +#[doc = "VREF register accessor: an alias for `Reg<VREF_SPEC>`"] +pub type VREF = crate::Reg<vref::VREF_SPEC>; +#[doc = "VREF Control"] +pub mod vref; +#[doc = "VREG33 register accessor: an alias for `Reg<VREG33_SPEC>`"] +pub type VREG33 = crate::Reg<vreg33::VREG33_SPEC>; +#[doc = "VREG33 Control"] +pub mod vreg33; |
