From 0666a6ba1dbd66cf8b93c113e362ccbcd99152a0 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Sat, 6 Nov 2021 11:50:33 +0100 Subject: Initial commit --- src/supc.rs | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/supc.rs (limited to 'src/supc.rs') 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, + #[doc = "0x04 - Interrupt Enable Set"] + pub intenset: crate::Reg, + #[doc = "0x08 - Interrupt Flag Status and Clear"] + pub intflag: crate::Reg, + #[doc = "0x0c - Power and Clocks Status"] + pub status: crate::Reg, + #[doc = "0x10 - BODVDD Control"] + pub bodvdd: crate::Reg, + _reserved5: [u8; 0x04], + #[doc = "0x18 - VREG Control"] + pub vreg: crate::Reg, + #[doc = "0x1c - VREF Control"] + pub vref: crate::Reg, + #[doc = "0x20 - VREG33 Control"] + pub vreg33: crate::Reg, +} +#[doc = "INTENCLR register accessor: an alias for `Reg`"] +pub type INTENCLR = crate::Reg; +#[doc = "Interrupt Enable Clear"] +pub mod intenclr; +#[doc = "INTENSET register accessor: an alias for `Reg`"] +pub type INTENSET = crate::Reg; +#[doc = "Interrupt Enable Set"] +pub mod intenset; +#[doc = "INTFLAG register accessor: an alias for `Reg`"] +pub type INTFLAG = crate::Reg; +#[doc = "Interrupt Flag Status and Clear"] +pub mod intflag; +#[doc = "STATUS register accessor: an alias for `Reg`"] +pub type STATUS = crate::Reg; +#[doc = "Power and Clocks Status"] +pub mod status; +#[doc = "BODVDD register accessor: an alias for `Reg`"] +pub type BODVDD = crate::Reg; +#[doc = "BODVDD Control"] +pub mod bodvdd; +#[doc = "VREG register accessor: an alias for `Reg`"] +pub type VREG = crate::Reg; +#[doc = "VREG Control"] +pub mod vreg; +#[doc = "VREF register accessor: an alias for `Reg`"] +pub type VREF = crate::Reg; +#[doc = "VREF Control"] +pub mod vref; +#[doc = "VREG33 register accessor: an alias for `Reg`"] +pub type VREG33 = crate::Reg; +#[doc = "VREG33 Control"] +pub mod vreg33; -- cgit v1.2.3-70-g09d2