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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - SWPMI Configuration/Control register"] pub cr: CR, #[doc = "0x04 - SWPMI Bitrate register"] pub brr: BRR, _reserved2: [u8; 4usize], #[doc = "0x0c - SWPMI Interrupt and Status register"] pub isr: ISR, #[doc = "0x10 - SWPMI Interrupt Flag Clear register"] pub icr: ICR, #[doc = "0x14 - SWPMI Interrupt Enable register"] pub ier: IER, #[doc = "0x18 - SWPMI Receive Frame Length register"] pub rfl: RFL, #[doc = "0x1c - SWPMI Transmit data register"] pub tdr: TDR, #[doc = "0x20 - SWPMI Receive data register"] pub rdr: RDR, #[doc = "0x24 - SWPMI Option register"] pub or: OR, } #[doc = "SWPMI Configuration/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 = "SWPMI Configuration/Control register"] pub mod cr; #[doc = "SWPMI Bitrate 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 [brr](brr) module"] pub type BRR = crate::Reg<u32, _BRR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _BRR; #[doc = "`read()` method returns [brr::R](brr::R) reader structure"] impl crate::Readable for BRR {} #[doc = "`write(|w| ..)` method takes [brr::W](brr::W) writer structure"] impl crate::Writable for BRR {} #[doc = "SWPMI Bitrate register"] pub mod brr; #[doc = "SWPMI Interrupt and Status 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 [isr](isr) module"] pub type ISR = crate::Reg<u32, _ISR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _ISR; #[doc = "`read()` method returns [isr::R](isr::R) reader structure"] impl crate::Readable for ISR {} #[doc = "SWPMI Interrupt and Status register"] pub mod isr; #[doc = "SWPMI Interrupt Flag Clear 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 [icr](icr) module"] pub type ICR = crate::Reg<u32, _ICR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _ICR; #[doc = "`write(|w| ..)` method takes [icr::W](icr::W) writer structure"] impl crate::Writable for ICR {} #[doc = "SWPMI Interrupt Flag Clear register"] pub mod icr; #[doc = "SWPMI Interrupt Enable 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 [ier](ier) module"] pub type IER = crate::Reg<u32, _IER>; #[allow(missing_docs)] #[doc(hidden)] pub struct _IER; #[doc = "`read()` method returns [ier::R](ier::R) reader structure"] impl crate::Readable for IER {} #[doc = "`write(|w| ..)` method takes [ier::W](ier::W) writer structure"] impl crate::Writable for IER {} #[doc = "SWPMI Interrupt Enable register"] pub mod ier; #[doc = "SWPMI Receive Frame Length 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 [rfl](rfl) module"] pub type RFL = crate::Reg<u32, _RFL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _RFL; #[doc = "`read()` method returns [rfl::R](rfl::R) reader structure"] impl crate::Readable for RFL {} #[doc = "SWPMI Receive Frame Length register"] pub mod rfl; #[doc = "SWPMI Transmit data 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 [tdr](tdr) module"] pub type TDR = crate::Reg<u32, _TDR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _TDR; #[doc = "`write(|w| ..)` method takes [tdr::W](tdr::W) writer structure"] impl crate::Writable for TDR {} #[doc = "SWPMI Transmit data register"] pub mod tdr; #[doc = "SWPMI Receive data 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 [rdr](rdr) module"] pub type RDR = crate::Reg<u32, _RDR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _RDR; #[doc = "`read()` method returns [rdr::R](rdr::R) reader structure"] impl crate::Readable for RDR {} #[doc = "SWPMI Receive data register"] pub mod rdr; #[doc = "SWPMI Option 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 [or](or) module"] pub type OR = crate::Reg<u32, _OR>; #[allow(missing_docs)] #[doc(hidden)] pub struct _OR; #[doc = "`read()` method returns [or::R](or::R) reader structure"] impl crate::Readable for OR {} #[doc = "`write(|w| ..)` method takes [or::W](or::W) writer structure"] impl crate::Writable for OR {} #[doc = "SWPMI Option register"] pub mod or;