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
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Pin Control Register n"] pub pcr: [PCR; 32], #[doc = "0x80 - Global Pin Control Low Register"] pub gpclr: GPCLR, #[doc = "0x84 - Global Pin Control High Register"] pub gpchr: GPCHR, _reserved3: [u8; 24usize], #[doc = "0xa0 - Interrupt Status Flag Register"] pub isfr: ISFR, } #[doc = "Pin Control Register n\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 [pcr](pcr) module"] pub type PCR = crate::Reg<u32, _PCR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _PCR; #[doc = "`read()` method returns [pcr::R](pcr::R) reader structure"] impl crate::Readable for PCR {} #[doc = "`write(|w| ..)` method takes [pcr::W](pcr::W) writer structure"] impl crate::Writable for PCR {} #[doc = "Pin Control Register n"] pub mod pcr; #[doc = "Global Pin Control Low Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [gpclr](gpclr) module"] pub type GPCLR = crate::Reg<u32, _GPCLR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _GPCLR; #[doc = "`write(|w| ..)` method takes [gpclr::W](gpclr::W) writer structure"] impl crate::Writable for GPCLR {} #[doc = "Global Pin Control Low Register"] pub mod gpclr; #[doc = "Global Pin Control High Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [gpchr](gpchr) module"] pub type GPCHR = crate::Reg<u32, _GPCHR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _GPCHR; #[doc = "`write(|w| ..)` method takes [gpchr::W](gpchr::W) writer structure"] impl crate::Writable for GPCHR {} #[doc = "Global Pin Control High Register"] pub mod gpchr; #[doc = "Interrupt Status Flag 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 [isfr](isfr) module"] pub type ISFR = crate::Reg<u32, _ISFR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _ISFR; #[doc = "`read()` method returns [isfr::R](isfr::R) reader structure"] impl crate::Readable for ISFR {} #[doc = "`write(|w| ..)` method takes [isfr::W](isfr::W) writer structure"] impl crate::Writable for ISFR {} #[doc = "Interrupt Status Flag Register"] pub mod isfr;