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
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - PORT K Input Pins"] pub pink: PINK, #[doc = "0x01 - PORT K Data Direction Register"] pub ddrk: DDRK, #[doc = "0x02 - PORT K Data Register"] pub portk: PORTK, } #[doc = "PORT K Data Direction 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 [ddrk](ddrk) module"] pub type DDRK = crate::Reg<u8, _DDRK>; #[allow(missing_docs)] #[doc(hidden)] pub struct _DDRK; #[doc = "`read()` method returns [ddrk::R](ddrk::R) reader structure"] impl crate::Readable for DDRK {} #[doc = "`write(|w| ..)` method takes [ddrk::W](ddrk::W) writer structure"] impl crate::Writable for DDRK {} #[doc = "PORT K Data Direction Register"] pub mod ddrk; #[doc = "PORT K Input Pins\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 [pink](pink) module"] pub type PINK = crate::Reg<u8, _PINK>; #[allow(missing_docs)] #[doc(hidden)] pub struct _PINK; #[doc = "`read()` method returns [pink::R](pink::R) reader structure"] impl crate::Readable for PINK {} #[doc = "`write(|w| ..)` method takes [pink::W](pink::W) writer structure"] impl crate::Writable for PINK {} #[doc = "PORT K Input Pins"] pub mod pink; #[doc = "PORT K Data 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 [portk](portk) module"] pub type PORTK = crate::Reg<u8, _PORTK>; #[allow(missing_docs)] #[doc(hidden)] pub struct _PORTK; #[doc = "`read()` method returns [portk::R](portk::R) reader structure"] impl crate::Readable for PORTK {} #[doc = "`write(|w| ..)` method takes [portk::W](portk::W) writer structure"] impl crate::Writable for PORTK {} #[doc = "PORT K Data Register"] pub mod portk;