Function stm32wlxx_hal::rcc::enable_lsi
source · pub fn enable_lsi(rcc: &mut RCC)
Expand description
Enable the LSI clock with the currently configured pre-scaler and wait for completion.
Example
use stm32wlxx_hal::{pac, rcc::enable_lsi};
let mut dp: pac::Peripherals = pac::Peripherals::take().unwrap();
enable_lsi(&mut dp.RCC);