Struct stm32f1xx_hal::rcc::Rcc

source ·
pub struct Rcc {
    pub cfgr: CFGR,
    pub bkp: BKP,
}
Expand description

Constrained RCC peripheral

Aquired by calling the constrain method on the Rcc struct from the PAC

let dp = pac::Peripherals::take().unwrap();
let mut rcc = dp.RCC.constrain();

Fields§

§cfgr: CFGR§bkp: BKP

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.

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.