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
#[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 - Timer Compare Value"] pub cr: CR, #[doc = "0x3c - Timer Shadow Compare Value"] pub crs: CRS, _reserved0: [u8; 48usize], #[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 = "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 = "Timer Compare Value"] pub struct CR { register: ::vcell::VolatileCell<u32>, } #[doc = "Timer Compare Value"] pub mod cr; #[doc = "Timer Shadow Compare Value"] pub struct CRS { register: ::vcell::VolatileCell<u32>, } #[doc = "Timer Shadow Compare Value"] pub mod crs; #[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;