1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub cr0: CR, #[doc = "0x04 - Truth Register"] pub truth0: TRUTH, #[doc = "0x08 - Control Register"] pub cr1: CR, #[doc = "0x0c - Truth Register"] pub truth1: TRUTH, _reserved4: [u8; 40usize], #[doc = "0x38 - Parameter Register"] pub parameter: PARAMETER, #[doc = "0x3c - Version Register"] pub version: VERSION, } #[doc = "Control Register\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 [cr](cr) module"] pub type CR = crate::Reg<u32, _CR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _CR; #[doc = "`read()` method returns [cr::R](cr::R) reader structure"] impl crate::Readable for CR {} #[doc = "`write(|w| ..)` method takes [cr::W](cr::W) writer structure"] impl crate::Writable for CR {} #[doc = "Control Register"] pub mod cr; #[doc = "Parameter Register\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 [parameter](parameter) module"] pub type PARAMETER = crate::Reg<u32, _PARAMETER>; #[allow(missing_docs)] #[doc(hidden)] pub struct _PARAMETER; #[doc = "`read()` method returns [parameter::R](parameter::R) reader structure"] impl crate::Readable for PARAMETER {} #[doc = "Parameter Register"] pub mod parameter; #[doc = "Truth Register\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 [truth](truth) module"] pub type TRUTH = crate::Reg<u32, _TRUTH>; #[allow(missing_docs)] #[doc(hidden)] pub struct _TRUTH; #[doc = "`read()` method returns [truth::R](truth::R) reader structure"] impl crate::Readable for TRUTH {} #[doc = "`write(|w| ..)` method takes [truth::W](truth::W) writer structure"] impl crate::Writable for TRUTH {} #[doc = "Truth Register"] pub mod truth; #[doc = "Version Register\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 [version](version) module"] pub type VERSION = crate::Reg<u32, _VERSION>; #[allow(missing_docs)] #[doc(hidden)] pub struct _VERSION; #[doc = "`read()` method returns [version::R](version::R) reader structure"] impl crate::Readable for VERSION {} #[doc = "Version Register"] pub mod version;