#[repr(C)]pub struct RegisterBlock {Show 21 fields
pub cr: Reg<CR_SPEC>,
pub icscr: Reg<ICSCR_SPEC>,
pub crrcr: Reg<CRRCR_SPEC>,
pub cfgr: Reg<CFGR_SPEC>,
pub cier: Reg<CIER_SPEC>,
pub cifr: Reg<CIFR_SPEC>,
pub cicr: Reg<CICR_SPEC>,
pub ioprstr: Reg<IOPRSTR_SPEC>,
pub ahbrstr: Reg<AHBRSTR_SPEC>,
pub apb2rstr: Reg<APB2RSTR_SPEC>,
pub apb1rstr: Reg<APB1RSTR_SPEC>,
pub iopenr: Reg<IOPENR_SPEC>,
pub ahbenr: Reg<AHBENR_SPEC>,
pub apb2enr: Reg<APB2ENR_SPEC>,
pub apb1enr: Reg<APB1ENR_SPEC>,
pub iopsmen: Reg<IOPSMEN_SPEC>,
pub ahbsmenr: Reg<AHBSMENR_SPEC>,
pub apb2smenr: Reg<APB2SMENR_SPEC>,
pub apb1smenr: Reg<APB1SMENR_SPEC>,
pub ccipr: Reg<CCIPR_SPEC>,
pub csr: Reg<CSR_SPEC>,
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - Clock control register
icscr: Reg<ICSCR_SPEC>
0x04 - Internal clock sources calibration register
crrcr: Reg<CRRCR_SPEC>
0x08 - Clock recovery RC register
cfgr: Reg<CFGR_SPEC>
0x0c - Clock configuration register
cier: Reg<CIER_SPEC>
0x10 - Clock interrupt enable register
cifr: Reg<CIFR_SPEC>
0x14 - Clock interrupt flag register
cicr: Reg<CICR_SPEC>
0x18 - Clock interrupt clear register
ioprstr: Reg<IOPRSTR_SPEC>
0x1c - GPIO reset register
ahbrstr: Reg<AHBRSTR_SPEC>
0x20 - AHB peripheral reset register
apb2rstr: Reg<APB2RSTR_SPEC>
0x24 - APB2 peripheral reset register
apb1rstr: Reg<APB1RSTR_SPEC>
0x28 - APB1 peripheral reset register
iopenr: Reg<IOPENR_SPEC>
0x2c - GPIO clock enable register
ahbenr: Reg<AHBENR_SPEC>
0x30 - AHB peripheral clock enable register
apb2enr: Reg<APB2ENR_SPEC>
0x34 - APB2 peripheral clock enable register
apb1enr: Reg<APB1ENR_SPEC>
0x38 - APB1 peripheral clock enable register
iopsmen: Reg<IOPSMEN_SPEC>
0x3c - GPIO clock enable in sleep mode register
ahbsmenr: Reg<AHBSMENR_SPEC>
0x40 - AHB peripheral clock enable in sleep mode register
apb2smenr: Reg<APB2SMENR_SPEC>
0x44 - APB2 peripheral clock enable in sleep mode register
apb1smenr: Reg<APB1SMENR_SPEC>
0x48 - APB1 peripheral clock enable in sleep mode register
ccipr: Reg<CCIPR_SPEC>
0x4c - Clock configuration register
csr: Reg<CSR_SPEC>
0x50 - Control and status 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