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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Interrupt flag register"] pub intf: INTF, #[doc = "0x04 - Interrupt flag clear register"] pub intc: INTC, #[doc = "0x08 - Channel 0 control register"] pub ch0ctl: CH0CTL, #[doc = "0x0c - Channel 0 counter register"] pub ch0cnt: CH0CNT, #[doc = "0x10 - Channel 0 peripheral base address register"] pub ch0paddr: CH0PADDR, #[doc = "0x14 - Channel 0 memory base address register"] pub ch0maddr: CH0MADDR, _reserved0: [u8; 4usize], #[doc = "0x1c - Channel 1 control register"] pub ch1ctl: CH1CTL, #[doc = "0x20 - Channel 1 counter register"] pub ch1cnt: CH1CNT, #[doc = "0x24 - Channel 1 peripheral base address register"] pub ch1paddr: CH1PADDR, #[doc = "0x28 - Channel 1 memory base address register"] pub ch1maddr: CH1MADDR, _reserved1: [u8; 4usize], #[doc = "0x30 - Channel 2 control register"] pub ch2ctl: CH2CTL, #[doc = "0x34 - Channel 2 counter register"] pub ch2cnt: CH2CNT, #[doc = "0x38 - Channel 2 peripheral base address register"] pub ch2paddr: CH2PADDR, #[doc = "0x3c - Channel 2 memory base address register"] pub ch2maddr: CH2MADDR, _reserved2: [u8; 4usize], #[doc = "0x44 - Channel 3 control register"] pub ch3ctl: CH3CTL, #[doc = "0x48 - Channel 3 counter register"] pub ch3cnt: CH3CNT, #[doc = "0x4c - Channel 3 peripheral base address register"] pub ch3paddr: CH3PADDR, #[doc = "0x50 - Channel 3 memory base address register"] pub ch3maddr: CH3MADDR, _reserved3: [u8; 4usize], #[doc = "0x58 - Channel 4 control register"] pub ch4ctl: CH4CTL, #[doc = "0x5c - Channel 4 counter register"] pub ch4cnt: CH4CNT, #[doc = "0x60 - Channel 4 peripheral base address register"] pub ch4paddr: CH4PADDR, #[doc = "0x64 - Channel 4 memory base address register"] pub ch4maddr: CH4MADDR, _reserved4: [u8; 4usize], #[doc = "0x6c - Channel 5 control register"] pub ch5ctl: CH5CTL, #[doc = "0x70 - Channel 5 counter register"] pub ch5cnt: CH5CNT, #[doc = "0x74 - Channel 5 peripheral base address register"] pub ch5paddr: CH5PADDR, #[doc = "0x78 - Channel 5 memory base address register"] pub ch5maddr: CH5MADDR, _reserved5: [u8; 4usize], #[doc = "0x80 - Channel 6 control register"] pub ch6ctl: CH6CTL, #[doc = "0x84 - Channel 6 counter register"] pub ch6cnt: CH6CNT, #[doc = "0x88 - Channel 6 peripheral base address register"] pub ch6paddr: CH6PADDR, #[doc = "0x8c - Channel 6 memory base address register"] pub ch6maddr: CH6MADDR, } #[doc = "Interrupt flag register"] pub struct INTF { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt flag register"] pub mod intf; #[doc = "Interrupt flag clear register"] pub struct INTC { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt flag clear register"] pub mod intc; #[doc = "Channel 0 control register"] pub struct CH0CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 0 control register"] pub mod ch0ctl; #[doc = "Channel 0 counter register"] pub struct CH0CNT { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 0 counter register"] pub mod ch0cnt; #[doc = "Channel 0 peripheral base address register"] pub struct CH0PADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 0 peripheral base address register"] pub mod ch0paddr; #[doc = "Channel 0 memory base address register"] pub struct CH0MADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 0 memory base address register"] pub mod ch0maddr; #[doc = "Channel 1 control register"] pub struct CH1CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 1 control register"] pub mod ch1ctl; #[doc = "Channel 1 counter register"] pub struct CH1CNT { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 1 counter register"] pub mod ch1cnt; #[doc = "Channel 1 peripheral base address register"] pub struct CH1PADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 1 peripheral base address register"] pub mod ch1paddr; #[doc = "Channel 1 memory base address register"] pub struct CH1MADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 1 memory base address register"] pub mod ch1maddr; #[doc = "Channel 2 control register"] pub struct CH2CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 2 control register"] pub mod ch2ctl; #[doc = "Channel 2 counter register"] pub struct CH2CNT { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 2 counter register"] pub mod ch2cnt; #[doc = "Channel 2 peripheral base address register"] pub struct CH2PADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 2 peripheral base address register"] pub mod ch2paddr; #[doc = "Channel 2 memory base address register"] pub struct CH2MADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 2 memory base address register"] pub mod ch2maddr; #[doc = "Channel 3 control register"] pub struct CH3CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 3 control register"] pub mod ch3ctl; #[doc = "Channel 3 counter register"] pub struct CH3CNT { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 3 counter register"] pub mod ch3cnt; #[doc = "Channel 3 peripheral base address register"] pub struct CH3PADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 3 peripheral base address register"] pub mod ch3paddr; #[doc = "Channel 3 memory base address register"] pub struct CH3MADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 3 memory base address register"] pub mod ch3maddr; #[doc = "Channel 4 control register"] pub struct CH4CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 4 control register"] pub mod ch4ctl; #[doc = "Channel 4 counter register"] pub struct CH4CNT { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 4 counter register"] pub mod ch4cnt; #[doc = "Channel 4 peripheral base address register"] pub struct CH4PADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 4 peripheral base address register"] pub mod ch4paddr; #[doc = "Channel 4 memory base address register"] pub struct CH4MADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 4 memory base address register"] pub mod ch4maddr; #[doc = "Channel 5 control register"] pub struct CH5CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 5 control register"] pub mod ch5ctl; #[doc = "Channel 5 counter register"] pub struct CH5CNT { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 5 counter register"] pub mod ch5cnt; #[doc = "Channel 5 peripheral base address register"] pub struct CH5PADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 5 peripheral base address register"] pub mod ch5paddr; #[doc = "Channel 5 memory base address register"] pub struct CH5MADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 5 memory base address register"] pub mod ch5maddr; #[doc = "Channel 6 control register"] pub struct CH6CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 6 control register"] pub mod ch6ctl; #[doc = "Channel 6 counter register"] pub struct CH6CNT { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 6 counter register"] pub mod ch6cnt; #[doc = "Channel 6 peripheral base address register"] pub struct CH6PADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 6 peripheral base address register"] pub mod ch6paddr; #[doc = "Channel 6 memory base address register"] pub struct CH6MADDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Channel 6 memory base address register"] pub mod ch6maddr;