Function stm32_hal2::clocks::enable_crs[][src]

pub fn enable_crs(sync_src: CrsSyncSrc, crs: &mut CRS, rcc: &mut RCC)
Expand description

Enable the Clock Recovery System. L443 User manual: “The STM32L443xx devices embed a special block which allows automatic trimming of the internal 48 MHz oscillator to guarantee its optimal accuracy over the whole device operational range. This automatic trimming is based on the external synchronization signal, which could be either derived from USB SOF signalization, from LSE oscillator, from an external signal on CRS_SYNC pin or generated by user software. For faster lock-in during startup it is also possible to combine automatic trimming with manual trimming action.” Note: This is for HSI48 only. Note that the HSI will turn off after entering Stop or Standby.