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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - clock control register"] pub cr: CR, #[doc = "0x04 - PLL configuration register"] pub pllcfgr: PLLCFGR, #[doc = "0x08 - clock configuration register"] pub cfgr: CFGR, #[doc = "0x0c - clock interrupt register"] pub cir: CIR, #[doc = "0x10 - AHB1 peripheral reset register"] pub ahb1rstr: AHB1RSTR, #[doc = "0x14 - AHB2 peripheral reset register"] pub ahb2rstr: AHB2RSTR, #[doc = "0x18 - AHB3 peripheral reset register"] pub ahb3rstr: AHB3RSTR, _reserved0: [u8; 4usize], #[doc = "0x20 - APB1 peripheral reset register"] pub apb1rstr: APB1RSTR, #[doc = "0x24 - APB2 peripheral reset register"] pub apb2rstr: APB2RSTR, _reserved1: [u8; 8usize], #[doc = "0x30 - AHB1 peripheral clock register"] pub ahb1enr: AHB1ENR, #[doc = "0x34 - AHB2 peripheral clock enable register"] pub ahb2enr: AHB2ENR, #[doc = "0x38 - AHB3 peripheral clock enable register"] pub ahb3enr: AHB3ENR, _reserved2: [u8; 4usize], #[doc = "0x40 - APB1 peripheral clock enable register"] pub apb1enr: APB1ENR, #[doc = "0x44 - APB2 peripheral clock enable register"] pub apb2enr: APB2ENR, _reserved3: [u8; 8usize], #[doc = "0x50 - AHB1 peripheral clock enable in low power mode register"] pub ahb1lpenr: AHB1LPENR, #[doc = "0x54 - AHB2 peripheral clock enable in low power mode register"] pub ahb2lpenr: AHB2LPENR, #[doc = "0x58 - AHB3 peripheral clock enable in low power mode register"] pub ahb3lpenr: AHB3LPENR, _reserved4: [u8; 4usize], #[doc = "0x60 - APB1 peripheral clock enable in low power mode register"] pub apb1lpenr: APB1LPENR, #[doc = "0x64 - APB2 peripheral clock enabled in low power mode register"] pub apb2lpenr: APB2LPENR, _reserved5: [u8; 8usize], #[doc = "0x70 - Backup domain control register"] pub bdcr: BDCR, #[doc = "0x74 - clock control & status register"] pub csr: CSR, _reserved6: [u8; 8usize], #[doc = "0x80 - spread spectrum clock generation register"] pub sscgr: SSCGR, #[doc = "0x84 - PLLI2S configuration register"] pub plli2scfgr: PLLI2SCFGR, #[doc = "0x88 - PLL configuration register"] pub pllsaicfgr: PLLSAICFGR, #[doc = "0x8c - dedicated clocks configuration register"] pub dkcfgr1: DKCFGR1, #[doc = "0x90 - dedicated clocks configuration register"] pub dkcfgr2: DKCFGR2, } #[doc = "clock control register"] pub struct CR { register: ::vcell::VolatileCell<u32>, } #[doc = "clock control register"] pub mod cr; #[doc = "PLL configuration register"] pub struct PLLCFGR { register: ::vcell::VolatileCell<u32>, } #[doc = "PLL configuration register"] pub mod pllcfgr; #[doc = "clock configuration register"] pub struct CFGR { register: ::vcell::VolatileCell<u32>, } #[doc = "clock configuration register"] pub mod cfgr; #[doc = "clock interrupt register"] pub struct CIR { register: ::vcell::VolatileCell<u32>, } #[doc = "clock interrupt register"] pub mod cir; #[doc = "AHB1 peripheral reset register"] pub struct AHB1RSTR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB1 peripheral reset register"] pub mod ahb1rstr; #[doc = "AHB2 peripheral reset register"] pub struct AHB2RSTR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB2 peripheral reset register"] pub mod ahb2rstr; #[doc = "AHB3 peripheral reset register"] pub struct AHB3RSTR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB3 peripheral reset register"] pub mod ahb3rstr; #[doc = "APB1 peripheral reset register"] pub struct APB1RSTR { register: ::vcell::VolatileCell<u32>, } #[doc = "APB1 peripheral reset register"] pub mod apb1rstr; #[doc = "APB2 peripheral reset register"] pub struct APB2RSTR { register: ::vcell::VolatileCell<u32>, } #[doc = "APB2 peripheral reset register"] pub mod apb2rstr; #[doc = "AHB1 peripheral clock register"] pub struct AHB1ENR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB1 peripheral clock register"] pub mod ahb1enr; #[doc = "AHB2 peripheral clock enable register"] pub struct AHB2ENR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB2 peripheral clock enable register"] pub mod ahb2enr; #[doc = "AHB3 peripheral clock enable register"] pub struct AHB3ENR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB3 peripheral clock enable register"] pub mod ahb3enr; #[doc = "APB1 peripheral clock enable register"] pub struct APB1ENR { register: ::vcell::VolatileCell<u32>, } #[doc = "APB1 peripheral clock enable register"] pub mod apb1enr; #[doc = "APB2 peripheral clock enable register"] pub struct APB2ENR { register: ::vcell::VolatileCell<u32>, } #[doc = "APB2 peripheral clock enable register"] pub mod apb2enr; #[doc = "AHB1 peripheral clock enable in low power mode register"] pub struct AHB1LPENR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB1 peripheral clock enable in low power mode register"] pub mod ahb1lpenr; #[doc = "AHB2 peripheral clock enable in low power mode register"] pub struct AHB2LPENR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB2 peripheral clock enable in low power mode register"] pub mod ahb2lpenr; #[doc = "AHB3 peripheral clock enable in low power mode register"] pub struct AHB3LPENR { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB3 peripheral clock enable in low power mode register"] pub mod ahb3lpenr; #[doc = "APB1 peripheral clock enable in low power mode register"] pub struct APB1LPENR { register: ::vcell::VolatileCell<u32>, } #[doc = "APB1 peripheral clock enable in low power mode register"] pub mod apb1lpenr; #[doc = "APB2 peripheral clock enabled in low power mode register"] pub struct APB2LPENR { register: ::vcell::VolatileCell<u32>, } #[doc = "APB2 peripheral clock enabled in low power mode register"] pub mod apb2lpenr; #[doc = "Backup domain control register"] pub struct BDCR { register: ::vcell::VolatileCell<u32>, } #[doc = "Backup domain control register"] pub mod bdcr; #[doc = "clock control & status register"] pub struct CSR { register: ::vcell::VolatileCell<u32>, } #[doc = "clock control & status register"] pub mod csr; #[doc = "spread spectrum clock generation register"] pub struct SSCGR { register: ::vcell::VolatileCell<u32>, } #[doc = "spread spectrum clock generation register"] pub mod sscgr; #[doc = "PLLI2S configuration register"] pub struct PLLI2SCFGR { register: ::vcell::VolatileCell<u32>, } #[doc = "PLLI2S configuration register"] pub mod plli2scfgr; #[doc = "PLL configuration register"] pub struct PLLSAICFGR { register: ::vcell::VolatileCell<u32>, } #[doc = "PLL configuration register"] pub mod pllsaicfgr; #[doc = "dedicated clocks configuration register"] pub struct DKCFGR1 { register: ::vcell::VolatileCell<u32>, } #[doc = "dedicated clocks configuration register"] pub mod dkcfgr1; #[doc = "dedicated clocks configuration register"] pub struct DKCFGR2 { register: ::vcell::VolatileCell<u32>, } #[doc = "dedicated clocks configuration register"] pub mod dkcfgr2;