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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - UART Baud Rate Register High"] pub bdh: BDH, #[doc = "0x01 - UART Baud Rate Register Low"] pub bdl: BDL, #[doc = "0x02 - UART Control Register 1"] pub c1: C1, #[doc = "0x03 - UART Control Register 2"] pub c2: C2, #[doc = "0x04 - UART Status Register 1"] pub s1: S1, #[doc = "0x05 - UART Status Register 2"] pub s2: S2, #[doc = "0x06 - UART Control Register 3"] pub c3: C3, #[doc = "0x07 - UART Data Register"] pub d: D, #[doc = "0x08 - UART Match Address Registers 1"] pub ma1: MA1, #[doc = "0x09 - UART Match Address Registers 2"] pub ma2: MA2, #[doc = "0x0a - UART Control Register 4"] pub c4: C4, #[doc = "0x0b - UART Control Register 5"] pub c5: C5, } #[doc = "UART Baud Rate Register High\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 avaliable fields see [bdh](bdh) module"] pub type BDH = crate::Reg<u8, _BDH>; #[allow(missing_docs)] #[doc(hidden)] pub struct _BDH; #[doc = "`read()` method returns [bdh::R](bdh::R) reader structure"] impl crate::Readable for BDH {} #[doc = "`write(|w| ..)` method takes [bdh::W](bdh::W) writer structure"] impl crate::Writable for BDH {} #[doc = "UART Baud Rate Register High"] pub mod bdh; #[doc = "UART Baud Rate Register Low\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 avaliable fields see [bdl](bdl) module"] pub type BDL = crate::Reg<u8, _BDL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _BDL; #[doc = "`read()` method returns [bdl::R](bdl::R) reader structure"] impl crate::Readable for BDL {} #[doc = "`write(|w| ..)` method takes [bdl::W](bdl::W) writer structure"] impl crate::Writable for BDL {} #[doc = "UART Baud Rate Register Low"] pub mod bdl; #[doc = "UART Control Register 1\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 avaliable fields see [c1](c1) module"] pub type C1 = crate::Reg<u8, _C1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C1; #[doc = "`read()` method returns [c1::R](c1::R) reader structure"] impl crate::Readable for C1 {} #[doc = "`write(|w| ..)` method takes [c1::W](c1::W) writer structure"] impl crate::Writable for C1 {} #[doc = "UART Control Register 1"] pub mod c1; #[doc = "UART Control Register 2\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 avaliable fields see [c2](c2) module"] pub type C2 = crate::Reg<u8, _C2>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C2; #[doc = "`read()` method returns [c2::R](c2::R) reader structure"] impl crate::Readable for C2 {} #[doc = "`write(|w| ..)` method takes [c2::W](c2::W) writer structure"] impl crate::Writable for C2 {} #[doc = "UART Control Register 2"] pub mod c2; #[doc = "UART Status Register 1\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 avaliable fields see [s1](s1) module"] pub type S1 = crate::Reg<u8, _S1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _S1; #[doc = "`read()` method returns [s1::R](s1::R) reader structure"] impl crate::Readable for S1 {} #[doc = "`write(|w| ..)` method takes [s1::W](s1::W) writer structure"] impl crate::Writable for S1 {} #[doc = "UART Status Register 1"] pub mod s1; #[doc = "UART Status Register 2\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 avaliable fields see [s2](s2) module"] pub type S2 = crate::Reg<u8, _S2>; #[allow(missing_docs)] #[doc(hidden)] pub struct _S2; #[doc = "`read()` method returns [s2::R](s2::R) reader structure"] impl crate::Readable for S2 {} #[doc = "`write(|w| ..)` method takes [s2::W](s2::W) writer structure"] impl crate::Writable for S2 {} #[doc = "UART Status Register 2"] pub mod s2; #[doc = "UART Control Register 3\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 avaliable fields see [c3](c3) module"] pub type C3 = crate::Reg<u8, _C3>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C3; #[doc = "`read()` method returns [c3::R](c3::R) reader structure"] impl crate::Readable for C3 {} #[doc = "`write(|w| ..)` method takes [c3::W](c3::W) writer structure"] impl crate::Writable for C3 {} #[doc = "UART Control Register 3"] pub mod c3; #[doc = "UART 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 avaliable fields see [d](d) module"] pub type D = crate::Reg<u8, _D>; #[allow(missing_docs)] #[doc(hidden)] pub struct _D; #[doc = "`read()` method returns [d::R](d::R) reader structure"] impl crate::Readable for D {} #[doc = "`write(|w| ..)` method takes [d::W](d::W) writer structure"] impl crate::Writable for D {} #[doc = "UART Data Register"] pub mod d; #[doc = "UART Match Address Registers 1\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 avaliable fields see [ma1](ma1) module"] pub type MA1 = crate::Reg<u8, _MA1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _MA1; #[doc = "`read()` method returns [ma1::R](ma1::R) reader structure"] impl crate::Readable for MA1 {} #[doc = "`write(|w| ..)` method takes [ma1::W](ma1::W) writer structure"] impl crate::Writable for MA1 {} #[doc = "UART Match Address Registers 1"] pub mod ma1; #[doc = "UART Match Address Registers 2\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 avaliable fields see [ma2](ma2) module"] pub type MA2 = crate::Reg<u8, _MA2>; #[allow(missing_docs)] #[doc(hidden)] pub struct _MA2; #[doc = "`read()` method returns [ma2::R](ma2::R) reader structure"] impl crate::Readable for MA2 {} #[doc = "`write(|w| ..)` method takes [ma2::W](ma2::W) writer structure"] impl crate::Writable for MA2 {} #[doc = "UART Match Address Registers 2"] pub mod ma2; #[doc = "UART Control Register 4\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 avaliable fields see [c4](c4) module"] pub type C4 = crate::Reg<u8, _C4>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C4; #[doc = "`read()` method returns [c4::R](c4::R) reader structure"] impl crate::Readable for C4 {} #[doc = "`write(|w| ..)` method takes [c4::W](c4::W) writer structure"] impl crate::Writable for C4 {} #[doc = "UART Control Register 4"] pub mod c4; #[doc = "UART Control Register 5\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 avaliable fields see [c5](c5) module"] pub type C5 = crate::Reg<u8, _C5>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C5; #[doc = "`read()` method returns [c5::R](c5::R) reader structure"] impl crate::Readable for C5 {} #[doc = "`write(|w| ..)` method takes [c5::W](c5::W) writer structure"] impl crate::Writable for C5 {} #[doc = "UART Control Register 5"] pub mod c5;