Struct stm32_metapac::rcc::regs::Csr
#[repr(transparent)]pub struct Csr(pub u32);
Expand description
RCC clock control and status register.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Csr
impl Csr
pub const fn lsirdy(&self) -> bool
pub const fn lsirdy(&self) -> bool
LSI oscillator ready Set and reset by hardware to indicate when the low-speed internal RC oscillator is stable. This bit needs 3 cycles of lsi_ck clock to fall down after LSION has been set to 0. This bit can be set even when LSION is not enabled if there is a request for LSI clock by the clock security system on LSE or by the low-speed watchdog or by the RTC.
pub fn set_lsirdy(&mut self, val: bool)
pub fn set_lsirdy(&mut self, val: bool)
LSI oscillator ready Set and reset by hardware to indicate when the low-speed internal RC oscillator is stable. This bit needs 3 cycles of lsi_ck clock to fall down after LSION has been set to 0. This bit can be set even when LSION is not enabled if there is a request for LSI clock by the clock security system on LSE or by the low-speed watchdog or by the RTC.