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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub ctrl: CTRL, #[doc = "0x04 - Display Control Register"] pub dispctrl: DISPCTRL, #[doc = "0x08 - Segment Enable Register"] pub segen: SEGEN, #[doc = "0x0c - Blink and Animation Control Register"] pub bactrl: BACTRL, #[doc = "0x10 - Status Register"] pub status: STATUS, #[doc = "0x14 - Animation Register a"] pub arega: AREGA, #[doc = "0x18 - Animation Register B"] pub aregb: AREGB, #[doc = "0x1c - Interrupt Flag Register"] pub if_: IF, #[doc = "0x20 - Interrupt Flag Set Register"] pub ifs: IFS, #[doc = "0x24 - Interrupt Flag Clear Register"] pub ifc: IFC, #[doc = "0x28 - Interrupt Enable Register"] pub ien: IEN, _reserved0: [u8; 4usize], #[doc = "0x30 - Analog BIAS Control"] pub biasctrl: BIASCTRL, _reserved1: [u8; 12usize], #[doc = "0x40 - Segment Data Low Register 0"] pub segd0l: SEGD0L, #[doc = "0x44 - Segment Data Low Register 1"] pub segd1l: SEGD1L, #[doc = "0x48 - Segment Data Low Register 2"] pub segd2l: SEGD2L, #[doc = "0x4c - Segment Data Low Register 3"] pub segd3l: SEGD3L, #[doc = "0x50 - Segment Data High Register 0"] pub segd0h: SEGD0H, #[doc = "0x54 - Segment Data High Register 1"] pub segd1h: SEGD1H, #[doc = "0x58 - Segment Data High Register 2"] pub segd2h: SEGD2H, #[doc = "0x5c - Segment Data High Register 3"] pub segd3h: SEGD3H, #[doc = "0x60 - Segment Data Low Register 4"] pub segd4l: SEGD4L, #[doc = "0x64 - Segment Data Low Register 5"] pub segd5l: SEGD5L, #[doc = "0x68 - Segment Data Low Register 6"] pub segd6l: SEGD6L, #[doc = "0x6c - Segment Data Low Register 7"] pub segd7l: SEGD7L, #[doc = "0x70 - Segment Data High Register 4"] pub segd4h: SEGD4H, #[doc = "0x74 - Segment Data High Register 5"] pub segd5h: SEGD5H, #[doc = "0x78 - Segment Data High Register 6"] pub segd6h: SEGD6H, #[doc = "0x7c - Segment Data High Register 7"] pub segd7h: SEGD7H, _reserved2: [u8; 64usize], #[doc = "0xc0 - Freeze Register"] pub freeze: FREEZE, #[doc = "0xc4 - Synchronization Busy Register"] pub syncbusy: SYNCBUSY, _reserved3: [u8; 40usize], #[doc = "0xf0 - Frame Rate"] pub framerate: FRAMERATE, #[doc = "0xf4 - Segment Enable (32 to 39)"] pub segen2: SEGEN2, } #[doc = "Control Register"] pub struct CTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Control Register"] pub mod ctrl; #[doc = "Display Control Register"] pub struct DISPCTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Display Control Register"] pub mod dispctrl; #[doc = "Segment Enable Register"] pub struct SEGEN { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Enable Register"] pub mod segen; #[doc = "Blink and Animation Control Register"] pub struct BACTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Blink and Animation Control Register"] pub mod bactrl; #[doc = "Status Register"] pub struct STATUS { register: ::vcell::VolatileCell<u32>, } #[doc = "Status Register"] pub mod status; #[doc = "Animation Register a"] pub struct AREGA { register: ::vcell::VolatileCell<u32>, } #[doc = "Animation Register a"] pub mod arega; #[doc = "Animation Register B"] pub struct AREGB { register: ::vcell::VolatileCell<u32>, } #[doc = "Animation Register B"] pub mod aregb; #[doc = "Interrupt Flag Register"] pub struct IF { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Flag Register"] pub mod if_; #[doc = "Interrupt Flag Set Register"] pub struct IFS { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Flag Set Register"] pub mod ifs; #[doc = "Interrupt Flag Clear Register"] pub struct IFC { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Flag Clear Register"] pub mod ifc; #[doc = "Interrupt Enable Register"] pub struct IEN { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Enable Register"] pub mod ien; #[doc = "Analog BIAS Control"] pub struct BIASCTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Analog BIAS Control"] pub mod biasctrl; #[doc = "Segment Data Low Register 0"] pub struct SEGD0L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 0"] pub mod segd0l; #[doc = "Segment Data Low Register 1"] pub struct SEGD1L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 1"] pub mod segd1l; #[doc = "Segment Data Low Register 2"] pub struct SEGD2L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 2"] pub mod segd2l; #[doc = "Segment Data Low Register 3"] pub struct SEGD3L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 3"] pub mod segd3l; #[doc = "Segment Data High Register 0"] pub struct SEGD0H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 0"] pub mod segd0h; #[doc = "Segment Data High Register 1"] pub struct SEGD1H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 1"] pub mod segd1h; #[doc = "Segment Data High Register 2"] pub struct SEGD2H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 2"] pub mod segd2h; #[doc = "Segment Data High Register 3"] pub struct SEGD3H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 3"] pub mod segd3h; #[doc = "Segment Data Low Register 4"] pub struct SEGD4L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 4"] pub mod segd4l; #[doc = "Segment Data Low Register 5"] pub struct SEGD5L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 5"] pub mod segd5l; #[doc = "Segment Data Low Register 6"] pub struct SEGD6L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 6"] pub mod segd6l; #[doc = "Segment Data Low Register 7"] pub struct SEGD7L { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data Low Register 7"] pub mod segd7l; #[doc = "Segment Data High Register 4"] pub struct SEGD4H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 4"] pub mod segd4h; #[doc = "Segment Data High Register 5"] pub struct SEGD5H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 5"] pub mod segd5h; #[doc = "Segment Data High Register 6"] pub struct SEGD6H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 6"] pub mod segd6h; #[doc = "Segment Data High Register 7"] pub struct SEGD7H { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Data High Register 7"] pub mod segd7h; #[doc = "Freeze Register"] pub struct FREEZE { register: ::vcell::VolatileCell<u32>, } #[doc = "Freeze Register"] pub mod freeze; #[doc = "Synchronization Busy Register"] pub struct SYNCBUSY { register: ::vcell::VolatileCell<u32>, } #[doc = "Synchronization Busy Register"] pub mod syncbusy; #[doc = "Frame Rate"] pub struct FRAMERATE { register: ::vcell::VolatileCell<u32>, } #[doc = "Frame Rate"] pub mod framerate; #[doc = "Segment Enable (32 to 39)"] pub struct SEGEN2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Segment Enable (32 to 39)"] pub mod segen2;