#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Interrupt Enable Clear"] pub intenclr: INTENCLR, #[doc = "0x04 - Interrupt Enable Set"] pub intenset: INTENSET, #[doc = "0x08 - Interrupt Flag Status and Clear"] pub intflag: INTFLAG, #[doc = "0x0c - Power and Clocks Status"] pub status: STATUS, #[doc = "0x10 - BOD33 Control"] pub bod33: BOD33, _reserved5: [u8; 4usize], #[doc = "0x18 - VREG Control"] pub vreg: VREG, #[doc = "0x1c - VREF Control"] pub vref: VREF, #[doc = "0x20 - Battery Backup Power Switch"] pub bbps: BBPS, #[doc = "0x24 - Backup Output Control"] pub bkout: BKOUT, #[doc = "0x28 - Backup Input Control"] pub bkin: BKIN, } #[doc = "Interrupt Enable Clear\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [intenclr](intenclr) module"] pub type INTENCLR = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _INTENCLR; #[doc = "`read()` method returns [intenclr::R](intenclr::R) reader structure"] impl crate::Readable for INTENCLR {} #[doc = "`write(|w| ..)` method takes [intenclr::W](intenclr::W) writer structure"] impl crate::Writable for INTENCLR {} #[doc = "Interrupt Enable Clear"] pub mod intenclr; #[doc = "Interrupt Enable Set\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [intenset](intenset) module"] pub type INTENSET = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _INTENSET; #[doc = "`read()` method returns [intenset::R](intenset::R) reader structure"] impl crate::Readable for INTENSET {} #[doc = "`write(|w| ..)` method takes [intenset::W](intenset::W) writer structure"] impl crate::Writable for INTENSET {} #[doc = "Interrupt Enable Set"] pub mod intenset; #[doc = "Interrupt Flag Status and Clear\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [intflag](intflag) module"] pub type INTFLAG = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _INTFLAG; #[doc = "`read()` method returns [intflag::R](intflag::R) reader structure"] impl crate::Readable for INTFLAG {} #[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"] impl crate::Writable for INTFLAG {} #[doc = "Interrupt Flag Status and Clear"] pub mod intflag; #[doc = "Power and Clocks Status\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [status](status) module"] pub type STATUS = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _STATUS; #[doc = "`read()` method returns [status::R](status::R) reader structure"] impl crate::Readable for STATUS {} #[doc = "Power and Clocks Status"] pub mod status; #[doc = "BOD33 Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [bod33](bod33) module"] pub type BOD33 = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _BOD33; #[doc = "`read()` method returns [bod33::R](bod33::R) reader structure"] impl crate::Readable for BOD33 {} #[doc = "`write(|w| ..)` method takes [bod33::W](bod33::W) writer structure"] impl crate::Writable for BOD33 {} #[doc = "BOD33 Control"] pub mod bod33; #[doc = "VREG Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [vreg](vreg) module"] pub type VREG = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _VREG; #[doc = "`read()` method returns [vreg::R](vreg::R) reader structure"] impl crate::Readable for VREG {} #[doc = "`write(|w| ..)` method takes [vreg::W](vreg::W) writer structure"] impl crate::Writable for VREG {} #[doc = "VREG Control"] pub mod vreg; #[doc = "VREF Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [vref](vref) module"] pub type VREF = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _VREF; #[doc = "`read()` method returns [vref::R](vref::R) reader structure"] impl crate::Readable for VREF {} #[doc = "`write(|w| ..)` method takes [vref::W](vref::W) writer structure"] impl crate::Writable for VREF {} #[doc = "VREF Control"] pub mod vref; #[doc = "Battery Backup Power Switch\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [bbps](bbps) module"] pub type BBPS = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _BBPS; #[doc = "`read()` method returns [bbps::R](bbps::R) reader structure"] impl crate::Readable for BBPS {} #[doc = "`write(|w| ..)` method takes [bbps::W](bbps::W) writer structure"] impl crate::Writable for BBPS {} #[doc = "Battery Backup Power Switch"] pub mod bbps; #[doc = "Backup Output Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [bkout](bkout) module"] pub type BKOUT = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _BKOUT; #[doc = "`read()` method returns [bkout::R](bkout::R) reader structure"] impl crate::Readable for BKOUT {} #[doc = "`write(|w| ..)` method takes [bkout::W](bkout::W) writer structure"] impl crate::Writable for BKOUT {} #[doc = "Backup Output Control"] pub mod bkout; #[doc = "Backup Input Control\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [bkin](bkin) module"] pub type BKIN = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _BKIN; #[doc = "`read()` method returns [bkin::R](bkin::R) reader structure"] impl crate::Readable for BKIN {} #[doc = "Backup Input Control"] pub mod bkin;