Struct stm32l4xx_hal::pac::rcc::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 30 fields
pub cr: Reg<CR_SPEC>,
pub icscr: Reg<ICSCR_SPEC>,
pub cfgr: Reg<CFGR_SPEC>,
pub pllcfgr: Reg<PLLCFGR_SPEC>,
pub pllsai1cfgr: Reg<PLLSAI1CFGR_SPEC>,
pub cier: Reg<CIER_SPEC>,
pub cifr: Reg<CIFR_SPEC>,
pub cicr: Reg<CICR_SPEC>,
pub ahb1rstr: Reg<AHB1RSTR_SPEC>,
pub ahb2rstr: Reg<AHB2RSTR_SPEC>,
pub ahb3rstr: Reg<AHB3RSTR_SPEC>,
pub apb1rstr1: Reg<APB1RSTR1_SPEC>,
pub apb1rstr2: Reg<APB1RSTR2_SPEC>,
pub apb2rstr: Reg<APB2RSTR_SPEC>,
pub ahb1enr: Reg<AHB1ENR_SPEC>,
pub ahb2enr: Reg<AHB2ENR_SPEC>,
pub ahb3enr: Reg<AHB3ENR_SPEC>,
pub apb1enr1: Reg<APB1ENR1_SPEC>,
pub apb1enr2: Reg<APB1ENR2_SPEC>,
pub apb2enr: Reg<APB2ENR_SPEC>,
pub ahb1smenr: Reg<AHB1SMENR_SPEC>,
pub ahb2smenr: Reg<AHB2SMENR_SPEC>,
pub ahb3smenr: Reg<AHB3SMENR_SPEC>,
pub apb1smenr1: Reg<APB1SMENR1_SPEC>,
pub apb1smenr2: Reg<APB1SMENR2_SPEC>,
pub apb2smenr: Reg<APB2SMENR_SPEC>,
pub ccipr: Reg<CCIPR_SPEC>,
pub bdcr: Reg<BDCR_SPEC>,
pub csr: Reg<CSR_SPEC>,
pub crrcr: Reg<CRRCR_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - Clock control register
icscr: Reg<ICSCR_SPEC>
0x04 - Internal clock sources calibration register
cfgr: Reg<CFGR_SPEC>
0x08 - Clock configuration register
pllcfgr: Reg<PLLCFGR_SPEC>
0x0c - PLL configuration register
pllsai1cfgr: Reg<PLLSAI1CFGR_SPEC>
0x10 - PLLSAI1 configuration register
cier: Reg<CIER_SPEC>
0x18 - Clock interrupt enable register
cifr: Reg<CIFR_SPEC>
0x1c - Clock interrupt flag register
cicr: Reg<CICR_SPEC>
0x20 - Clock interrupt clear register
ahb1rstr: Reg<AHB1RSTR_SPEC>
0x28 - AHB1 peripheral reset register
ahb2rstr: Reg<AHB2RSTR_SPEC>
0x2c - AHB2 peripheral reset register
ahb3rstr: Reg<AHB3RSTR_SPEC>
0x30 - AHB3 peripheral reset register
apb1rstr1: Reg<APB1RSTR1_SPEC>
0x38 - APB1 peripheral reset register 1
apb1rstr2: Reg<APB1RSTR2_SPEC>
0x3c - APB1 peripheral reset register 2
apb2rstr: Reg<APB2RSTR_SPEC>
0x40 - APB2 peripheral reset register
ahb1enr: Reg<AHB1ENR_SPEC>
0x48 - AHB1 peripheral clock enable register
ahb2enr: Reg<AHB2ENR_SPEC>
0x4c - AHB2 peripheral clock enable register
ahb3enr: Reg<AHB3ENR_SPEC>
0x50 - AHB3 peripheral clock enable register
apb1enr1: Reg<APB1ENR1_SPEC>
0x58 - APB1ENR1
apb1enr2: Reg<APB1ENR2_SPEC>
0x5c - APB1 peripheral clock enable register 2
apb2enr: Reg<APB2ENR_SPEC>
0x60 - APB2ENR
ahb1smenr: Reg<AHB1SMENR_SPEC>
0x68 - AHB1 peripheral clocks enable in Sleep and Stop modes register
ahb2smenr: Reg<AHB2SMENR_SPEC>
0x6c - AHB2 peripheral clocks enable in Sleep and Stop modes register
ahb3smenr: Reg<AHB3SMENR_SPEC>
0x70 - AHB3 peripheral clocks enable in Sleep and Stop modes register
apb1smenr1: Reg<APB1SMENR1_SPEC>
0x78 - APB1SMENR1
apb1smenr2: Reg<APB1SMENR2_SPEC>
0x7c - APB1 peripheral clocks enable in Sleep and Stop modes register 2
apb2smenr: Reg<APB2SMENR_SPEC>
0x80 - APB2SMENR
ccipr: Reg<CCIPR_SPEC>
0x88 - CCIPR
bdcr: Reg<BDCR_SPEC>
0x90 - BDCR
csr: Reg<CSR_SPEC>
0x94 - CSR
crrcr: Reg<CRRCR_SPEC>
0x98 - Clock recovery RC register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more