Struct stm32l0x1_hal::rcc::CFGR
source · pub struct CFGR {
pub hclk_fclk: Hertz,
pub pclk1: Hertz,
pub pclk2: Hertz,
pub sysclk_src: SysClkSource,
pub lsi: LowSpeedInternalRC,
pub msi: MediumSpeedInternalRC,
pub hsi16: HighSpeedInternal16RC,
pub lse: Option<LowSpeedExternalOSC>,
}
Expand description
Clock configuration register
Fields§
§hclk_fclk: Hertz
Desired HCLK/FCLK frequency
pclk1: Hertz
Desired peripheral clock 1 frequency
pclk2: Hertz
Desired peripheral clock 2 frequency
sysclk_src: SysClkSource
SYSCLK source selection
lsi: LowSpeedInternalRC
Low-speed internal RC configuration
msi: MediumSpeedInternalRC
Medium-speed internal RC configuration
hsi16: HighSpeedInternal16RC
High-speed 16 MHz internal RC configuration
lse: Option<LowSpeedExternalOSC>
Low-speed external oscillator configuration