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 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Input Selector Configuration"] pub ins: INS, #[doc = "0x04 - Connection Matrix Control"] pub cmc: CMC, #[doc = "0x08 - Slice Timer Status"] pub tcst: TCST, #[doc = "0x0c - Slice Timer Run Set"] pub tcset: TCSET, #[doc = "0x10 - Slice Timer Clear"] pub tcclr: TCCLR, #[doc = "0x14 - Slice Timer Control"] pub tc: TC, #[doc = "0x18 - Passive Level Config"] pub psl: PSL, #[doc = "0x1c - Dither Config"] pub dit: DIT, #[doc = "0x20 - Dither Shadow Register"] pub dits: DITS, #[doc = "0x24 - Prescaler Control"] pub psc: PSC, #[doc = "0x28 - Floating Prescaler Control"] pub fpc: FPC, #[doc = "0x2c - Floating Prescaler Shadow"] pub fpcs: FPCS, #[doc = "0x30 - Timer Period Value"] pub pr: PR, #[doc = "0x34 - Timer Shadow Period Value"] pub prs: PRS, #[doc = "0x38 - Channel 1 Compare Value"] pub cr1: CR1, #[doc = "0x3c - Channel 1 Compare Shadow Value"] pub cr1s: CR1S, #[doc = "0x40 - Channel 2 Compare Value"] pub cr2: CR2, #[doc = "0x44 - Channel 2 Compare Shadow Value"] pub cr2s: CR2S, #[doc = "0x48 - Channel Control"] pub chc: CHC, #[doc = "0x4c - Dead Time Control"] pub dtc: DTC, #[doc = "0x50 - Channel 1 Dead Time Values"] pub dc1r: DC1R, #[doc = "0x54 - Channel 2 Dead Time Values"] pub dc2r: DC2R, _reserved0: [u8; 24usize], #[doc = "0x70 - Timer Value"] pub timer: TIMER, #[doc = "0x74 - Capture Register 0"] pub c0v: C0V, #[doc = "0x78 - Capture Register 1"] pub c1v: C1V, #[doc = "0x7c - Capture Register 2"] pub c2v: C2V, #[doc = "0x80 - Capture Register 3"] pub c3v: C3V, _reserved1: [u8; 28usize], #[doc = "0xa0 - Interrupt Status"] pub ints: INTS, #[doc = "0xa4 - Interrupt Enable Control"] pub inte: INTE, #[doc = "0xa8 - Service Request Selector"] pub srs: SRS, #[doc = "0xac - Interrupt Status Set"] pub sws: SWS, #[doc = "0xb0 - Interrupt Status Clear"] pub swr: SWR, #[doc = "0xb4 - Shadow transfer control"] pub stc: STC, #[doc = "0xb8 - Extended Read Back 0"] pub ecrd0: ECRD0, #[doc = "0xbc - Extended Read Back 1"] pub ecrd1: ECRD1, } #[doc = "Input Selector Configuration"] pub struct INS { register: ::vcell::VolatileCell<u32>, } #[doc = "Input Selector Configuration"] pub mod ins; #[doc = "Connection Matrix Control"] pub struct CMC { register: ::vcell::VolatileCell<u32>, } #[doc = "Connection Matrix Control"] pub mod cmc; #[doc = "Slice Timer Status"] pub struct TCST { register: ::vcell::VolatileCell<u32>, } #[doc = "Slice Timer Status"] pub mod tcst; #[doc = "Slice Timer Run Set"] pub struct TCSET { register: ::vcell::VolatileCell<u32>, } #[doc = "Slice Timer Run Set"] pub mod tcset; #[doc = "Slice Timer Clear"] pub struct TCCLR { register: ::vcell::VolatileCell<u32>, } #[doc = "Slice Timer Clear"] pub mod tcclr; #[doc = "Slice Timer Control"] pub struct TC { register: ::vcell::VolatileCell<u32>, } #[doc = "Slice Timer Control"] pub mod tc; #[doc = "Passive Level Config"] pub struct PSL { register: ::vcell::VolatileCell<u32>, } #[doc = "Passive Level Config"] pub mod psl; #[doc = "Dither Config"] pub struct DIT { register: ::vcell::VolatileCell<u32>, } #[doc = "Dither Config"] pub mod dit; #[doc = "Dither Shadow Register"] pub struct DITS { register: ::vcell::VolatileCell<u32>, } #[doc = "Dither Shadow Register"] pub mod dits; #[doc = "Prescaler Control"] pub struct PSC { register: ::vcell::VolatileCell<u32>, } #[doc = "Prescaler Control"] pub mod psc; #[doc = "Floating Prescaler Control"] pub struct FPC { register: ::vcell::VolatileCell<u32>, } #[doc = "Floating Prescaler Control"] pub mod fpc; #[doc = "Floating Prescaler Shadow"] pub struct FPCS { register: ::vcell::VolatileCell<u32>, } #[doc = "Floating Prescaler Shadow"] pub mod fpcs; #[doc = "Timer Period Value"] pub struct PR { register: ::vcell::VolatileCell<u32>, } #[doc = "Timer Period Value"] pub mod pr; #[doc = "Timer Shadow Period Value"] pub struct PRS { register: ::vcell::VolatileCell<u32>, } #[doc = "Timer Shadow Period Value"] pub mod prs; #[doc = "Channel 1 Compare Value"] pub struct CR1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 1 Compare Value"] pub mod cr1; #[doc = "Channel 1 Compare Shadow Value"] pub struct CR1S { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 1 Compare Shadow Value"] pub mod cr1s; #[doc = "Channel 2 Compare Value"] pub struct CR2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 2 Compare Value"] pub mod cr2; #[doc = "Channel 2 Compare Shadow Value"] pub struct CR2S { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 2 Compare Shadow Value"] pub mod cr2s; #[doc = "Channel Control"] pub struct CHC { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel Control"] pub mod chc; #[doc = "Dead Time Control"] pub struct DTC { register: ::vcell::VolatileCell<u32>, } #[doc = "Dead Time Control"] pub mod dtc; #[doc = "Channel 1 Dead Time Values"] pub struct DC1R { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 1 Dead Time Values"] pub mod dc1r; #[doc = "Channel 2 Dead Time Values"] pub struct DC2R { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 2 Dead Time Values"] pub mod dc2r; #[doc = "Timer Value"] pub struct TIMER { register: ::vcell::VolatileCell<u32>, } #[doc = "Timer Value"] pub mod timer; #[doc = "Capture Register 0"] pub struct C0V { register: ::vcell::VolatileCell<u32>, } #[doc = "Capture Register 0"] pub mod c0v; #[doc = "Capture Register 1"] pub struct C1V { register: ::vcell::VolatileCell<u32>, } #[doc = "Capture Register 1"] pub mod c1v; #[doc = "Capture Register 2"] pub struct C2V { register: ::vcell::VolatileCell<u32>, } #[doc = "Capture Register 2"] pub mod c2v; #[doc = "Capture Register 3"] pub struct C3V { register: ::vcell::VolatileCell<u32>, } #[doc = "Capture Register 3"] pub mod c3v; #[doc = "Interrupt Status"] pub struct INTS { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Status"] pub mod ints; #[doc = "Interrupt Enable Control"] pub struct INTE { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Enable Control"] pub mod inte; #[doc = "Service Request Selector"] pub struct SRS { register: ::vcell::VolatileCell<u32>, } #[doc = "Service Request Selector"] pub mod srs; #[doc = "Interrupt Status Set"] pub struct SWS { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Status Set"] pub mod sws; #[doc = "Interrupt Status Clear"] pub struct SWR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Status Clear"] pub mod swr; #[doc = "Shadow transfer control"] pub struct STC { register: ::vcell::VolatileCell<u32>, } #[doc = "Shadow transfer control"] pub mod stc; #[doc = "Extended Read Back 0"] pub struct ECRD0 { register: ::vcell::VolatileCell<u32>, } #[doc = "Extended Read Back 0"] pub mod ecrd0; #[doc = "Extended Read Back 1"] pub struct ECRD1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Extended Read Back 1"] pub mod ecrd1;