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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control"] pub ctrl: CTRL, _reserved1: [u8; 3usize], #[doc = "0x04 - Channel"] pub channel: CHANNEL, #[doc = "0x08 - User Multiplexer"] pub user: USER, _reserved3: [u8; 2usize], #[doc = "0x0c - Channel Status"] pub chstatus: CHSTATUS, #[doc = "0x10 - Interrupt Enable Clear"] pub intenclr: INTENCLR, #[doc = "0x14 - Interrupt Enable Set"] pub intenset: INTENSET, #[doc = "0x18 - Interrupt Flag Status and Clear"] pub intflag: INTFLAG, } #[doc = "Control\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 [ctrl](ctrl) module"] pub type CTRL = crate::Reg<u8, _CTRL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _CTRL; #[doc = "`write(|w| ..)` method takes [ctrl::W](ctrl::W) writer structure"] impl crate::Writable for CTRL {} #[doc = "Control"] pub mod ctrl; #[doc = "Channel\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 [channel](channel) module"] pub type CHANNEL = crate::Reg<u32, _CHANNEL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _CHANNEL; #[doc = "`read()` method returns [channel::R](channel::R) reader structure"] impl crate::Readable for CHANNEL {} #[doc = "`write(|w| ..)` method takes [channel::W](channel::W) writer structure"] impl crate::Writable for CHANNEL {} #[doc = "Channel"] pub mod channel; #[doc = "User Multiplexer\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 [user](user) module"] pub type USER = crate::Reg<u16, _USER>; #[allow(missing_docs)] #[doc(hidden)] pub struct _USER; #[doc = "`read()` method returns [user::R](user::R) reader structure"] impl crate::Readable for USER {} #[doc = "`write(|w| ..)` method takes [user::W](user::W) writer structure"] impl crate::Writable for USER {} #[doc = "User Multiplexer"] pub mod user; #[doc = "Channel 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 [chstatus](chstatus) module"] pub type CHSTATUS = crate::Reg<u32, _CHSTATUS>; #[allow(missing_docs)] #[doc(hidden)] pub struct _CHSTATUS; #[doc = "`read()` method returns [chstatus::R](chstatus::R) reader structure"] impl crate::Readable for CHSTATUS {} #[doc = "Channel Status"] pub mod chstatus; #[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<u32, _INTENCLR>; #[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<u32, _INTENSET>; #[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<u32, _INTFLAG>; #[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;