pub struct RegisterBlock {Show 20 fields
pub cr: CR,
pub cfgr: CFGR,
pub cir: CIR,
pub ahb1rstr: AHB1RSTR,
pub apb2rstr: APB2RSTR,
pub apb1rstr: APB1RSTR,
pub ahb1enr: AHB1ENR,
pub apb2enr: APB2ENR,
pub apb1enr: APB1ENR,
pub bdcr: BDCR,
pub csr: CSR,
pub syscfg: SYSCFG,
pub cfgr2: CFGR2,
pub pll1cfgr: PLL1CFGR,
pub pll2cfgr: PLL2CFGR,
pub adc1cfgr: ADC1CFGR,
pub adc2cfgr: ADC2CFGR,
pub daccfgr: DACCFGR,
pub fsmccfgr: FSMCCFGR,
pub tpiucfgr: TPIUCFGR,
/* private fields */
}Expand description
Register block
Fields§
§cr: CR0x00 - clock control register
cfgr: CFGR0x04 - Clock Configuration Register
cir: CIR0x08 - clock interrupt register
ahb1rstr: AHB1RSTR0x14 - AHB1 Peripheral Reset Register
apb2rstr: APB2RSTR0x18 - APB2 Peripheral Reset Register
apb1rstr: APB1RSTR0x1c - APB1 Peripheral Reset Register
ahb1enr: AHB1ENR0x28 - AHB1 peripheral clock enable register
apb2enr: APB2ENR0x2c - APB2 Peripheral Clock Enable Register
apb1enr: APB1ENR0x30 - APB1 Peripheral Clock Enable Register
bdcr: BDCR0x34 - Backup Domain Control Register
csr: CSR0x38 - Control Status Register
syscfg: SYSCFG0x3c - System Configuration Register
cfgr2: CFGR20x40 - Clock Configuration Register 2
pll1cfgr: PLL1CFGR0x48 - PLL1 Configuration Register
pll2cfgr: PLL2CFGR0x4c - PLL2 Configuration Register
adc1cfgr: ADC1CFGR0x60 - ADC1 Configuration Register
adc2cfgr: ADC2CFGR0x64 - ADC2 Configuration Register
daccfgr: DACCFGR0x70 - DAC Configuration Register
fsmccfgr: FSMCCFGR0x78 - FSMC Configuration Register
tpiucfgr: TPIUCFGR0x7c - TPIU configuration register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more