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 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - UART Baud Rate Registers: High"] pub bdh: BDH, #[doc = "0x01 - UART Baud Rate Registers: 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 = "0x0c - UART Extended Data Register"] pub ed: ED, #[doc = "0x0d - UART Modem Register"] pub modem: MODEM, #[doc = "0x0e - UART Infrared Register"] pub ir: IR, _reserved0: [u8; 1usize], #[doc = "0x10 - UART FIFO Parameters"] pub pfifo: PFIFO, #[doc = "0x11 - UART FIFO Control Register"] pub cfifo: CFIFO, #[doc = "0x12 - UART FIFO Status Register"] pub sfifo: SFIFO, #[doc = "0x13 - UART FIFO Transmit Watermark"] pub twfifo: TWFIFO, #[doc = "0x14 - UART FIFO Transmit Count"] pub tcfifo: TCFIFO, #[doc = "0x15 - UART FIFO Receive Watermark"] pub rwfifo: RWFIFO, #[doc = "0x16 - UART FIFO Receive Count"] pub rcfifo: RCFIFO, } #[doc = "UART Baud Rate Registers: High"] pub struct BDH { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Baud Rate Registers: High"] pub mod bdh; #[doc = "UART Baud Rate Registers: Low"] pub struct BDL { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Baud Rate Registers: Low"] pub mod bdl; #[doc = "UART Control Register 1"] pub struct C1 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Control Register 1"] pub mod c1; #[doc = "UART Control Register 2"] pub struct C2 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Control Register 2"] pub mod c2; #[doc = "UART Status Register 1"] pub struct S1 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Status Register 1"] pub mod s1; #[doc = "UART Status Register 2"] pub struct S2 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Status Register 2"] pub mod s2; #[doc = "UART Control Register 3"] pub struct C3 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Control Register 3"] pub mod c3; #[doc = "UART Data Register"] pub struct D { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Data Register"] pub mod d; #[doc = "UART Match Address Registers 1"] pub struct MA1 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Match Address Registers 1"] pub mod ma1; #[doc = "UART Match Address Registers 2"] pub struct MA2 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Match Address Registers 2"] pub mod ma2; #[doc = "UART Control Register 4"] pub struct C4 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Control Register 4"] pub mod c4; #[doc = "UART Control Register 5"] pub struct C5 { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Control Register 5"] pub mod c5; #[doc = "UART Extended Data Register"] pub struct ED { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Extended Data Register"] pub mod ed; #[doc = "UART Modem Register"] pub struct MODEM { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Modem Register"] pub mod modem; #[doc = "UART Infrared Register"] pub struct IR { register: ::vcell::VolatileCell<u8>, } #[doc = "UART Infrared Register"] pub mod ir; #[doc = "UART FIFO Parameters"] pub struct PFIFO { register: ::vcell::VolatileCell<u8>, } #[doc = "UART FIFO Parameters"] pub mod pfifo; #[doc = "UART FIFO Control Register"] pub struct CFIFO { register: ::vcell::VolatileCell<u8>, } #[doc = "UART FIFO Control Register"] pub mod cfifo; #[doc = "UART FIFO Status Register"] pub struct SFIFO { register: ::vcell::VolatileCell<u8>, } #[doc = "UART FIFO Status Register"] pub mod sfifo; #[doc = "UART FIFO Transmit Watermark"] pub struct TWFIFO { register: ::vcell::VolatileCell<u8>, } #[doc = "UART FIFO Transmit Watermark"] pub mod twfifo; #[doc = "UART FIFO Transmit Count"] pub struct TCFIFO { register: ::vcell::VolatileCell<u8>, } #[doc = "UART FIFO Transmit Count"] pub mod tcfifo; #[doc = "UART FIFO Receive Watermark"] pub struct RWFIFO { register: ::vcell::VolatileCell<u8>, } #[doc = "UART FIFO Receive Watermark"] pub mod rwfifo; #[doc = "UART FIFO Receive Count"] pub struct RCFIFO { register: ::vcell::VolatileCell<u8>, } #[doc = "UART FIFO Receive Count"] pub mod rcfifo;