pub struct RegisterBlock {
Show 20 fields pub cr: CR, pub pllcfgr: PLLCFGR, pub cfgr: CFGR, pub cir: CIR, pub ahb1rstr: AHB1RSTR, pub ahb2rstr: AHB2RSTR, pub apb1rstr: APB1RSTR, pub apb2rstr: APB2RSTR, pub ahb1enr: AHB1ENR, pub ahb2enr: AHB2ENR, pub apb1enr: APB1ENR, pub apb2enr: APB2ENR, pub ahb1lpenr: AHB1LPENR, pub ahb2lpenr: AHB2LPENR, pub apb1lpenr: APB1LPENR, pub apb2lpenr: APB2LPENR, pub bdcr: BDCR, pub csr: CSR, pub sscgr: SSCGR, pub plli2scfgr: PLLI2SCFGR, /* private fields */
}
Expand description

Register block

Fields§

§cr: CR

0x00 - clock control register

§pllcfgr: PLLCFGR

0x04 - PLL configuration register

§cfgr: CFGR

0x08 - clock configuration register

§cir: CIR

0x0c - clock interrupt register

§ahb1rstr: AHB1RSTR

0x10 - AHB1 peripheral reset register

§ahb2rstr: AHB2RSTR

0x14 - AHB2 peripheral reset register

§apb1rstr: APB1RSTR

0x20 - APB1 peripheral reset register

§apb2rstr: APB2RSTR

0x24 - APB2 peripheral reset register

§ahb1enr: AHB1ENR

0x30 - AHB1 peripheral clock register

§ahb2enr: AHB2ENR

0x34 - AHB2 peripheral clock enable register

§apb1enr: APB1ENR

0x40 - APB1 peripheral clock enable register

§apb2enr: APB2ENR

0x44 - APB2 peripheral clock enable register

§ahb1lpenr: AHB1LPENR

0x50 - AHB1 peripheral clock enable in low power mode register

§ahb2lpenr: AHB2LPENR

0x54 - AHB2 peripheral clock enable in low power mode register

§apb1lpenr: APB1LPENR

0x60 - APB1 peripheral clock enable in low power mode register

§apb2lpenr: APB2LPENR

0x64 - APB2 peripheral clock enabled in low power mode register

§bdcr: BDCR

0x70 - Backup domain control register

§csr: CSR

0x74 - clock control & status register

§sscgr: SSCGR

0x80 - spread spectrum clock generation register

§plli2scfgr: PLLI2SCFGR

0x84 - PLLI2S configuration register

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.