Struct stm32l4x6::rcc::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub cr: Cr, pub icscr: Icscr, pub cfgr: Cfgr, pub pllcfgr: Pllcfgr, pub pllsai1cfgr: Pllsai1cfgr, pub pllsai2cfgr: Pllsai2cfgr, pub cier: Cier, pub cifr: Cifr, pub cicr: Cicr, pub ahb1rstr: Ahb1rstr, pub ahb2rstr: Ahb2rstr, pub ahb3rstr: Ahb3rstr, pub apb1rstr1: Apb1rstr1, pub apb1rstr2: Apb1rstr2, pub apb2rstr: Apb2rstr, pub ahb1enr: Ahb1enr, pub ahb2enr: Ahb2enr, pub ahb3enr: Ahb3enr, pub apb1enr1: Apb1enr1, pub apb1enr2: Apb1enr2, pub apb2enr: Apb2enr, pub ahb1smenr: Ahb1smenr, pub ahb2smenr: Ahb2smenr, pub ahb3smenr: Ahb3smenr, pub apb1smenr1: Apb1smenr1, pub apb1smenr2: Apb1smenr2, pub apb2smenr: Apb2smenr, pub ccipr: Ccipr, pub bdcr: Bdcr, pub csr: Csr, // some fields omitted }
Register block
Fields
cr: Cr
0x00 - Clock control register
icscr: Icscr
0x04 - Internal clock sources calibration register
cfgr: Cfgr
0x08 - Clock configuration register
pllcfgr: Pllcfgr
0x0c - PLL configuration register
pllsai1cfgr: Pllsai1cfgr
0x10 - PLLSAI1 configuration register
pllsai2cfgr: Pllsai2cfgr
0x14 - PLLSAI2 configuration register
cier: Cier
0x18 - Clock interrupt enable register
cifr: Cifr
0x1c - Clock interrupt flag register
cicr: Cicr
0x20 - Clock interrupt clear register
ahb1rstr: Ahb1rstr
0x28 - AHB1 peripheral reset register
ahb2rstr: Ahb2rstr
0x2c - AHB2 peripheral reset register
ahb3rstr: Ahb3rstr
0x30 - AHB3 peripheral reset register
apb1rstr1: Apb1rstr1
0x38 - APB1 peripheral reset register 1
apb1rstr2: Apb1rstr2
0x3c - APB1 peripheral reset register 2
apb2rstr: Apb2rstr
0x40 - APB2 peripheral reset register
ahb1enr: Ahb1enr
0x48 - AHB1 peripheral clock enable register
ahb2enr: Ahb2enr
0x4c - AHB2 peripheral clock enable register
ahb3enr: Ahb3enr
0x50 - AHB3 peripheral clock enable register
apb1enr1: Apb1enr1
0x58 - APB1ENR1
apb1enr2: Apb1enr2
0x5c - APB1 peripheral clock enable register 2
apb2enr: Apb2enr
0x60 - APB2ENR
ahb1smenr: Ahb1smenr
0x68 - AHB1 peripheral clocks enable in Sleep and Stop modes register
ahb2smenr: Ahb2smenr
0x6c - AHB2 peripheral clocks enable in Sleep and Stop modes register
ahb3smenr: Ahb3smenr
0x70 - AHB3 peripheral clocks enable in Sleep and Stop modes register
apb1smenr1: Apb1smenr1
0x78 - APB1SMENR1
apb1smenr2: Apb1smenr2
0x7c - APB1 peripheral clocks enable in Sleep and Stop modes register 2
apb2smenr: Apb2smenr
0x80 - APB2SMENR
ccipr: Ccipr
0x88 - CCIPR
bdcr: Bdcr
0x90 - BDCR
csr: Csr
0x94 - CSR