Trait embassy_stm32::rcc::low_level::RccPeripheral
source · pub trait RccPeripheral {
// Required methods
fn frequency() -> Hertz;
fn enable_and_reset_with_cs(cs: CriticalSection<'_>);
fn disable_with_cs(cs: CriticalSection<'_>);
// Provided methods
fn enable_and_reset() { ... }
fn disable() { ... }
}
Required Methods§
fn frequency() -> Hertz
fn enable_and_reset_with_cs(cs: CriticalSection<'_>)
fn disable_with_cs(cs: CriticalSection<'_>)
Provided Methods§
fn enable_and_reset()
fn disable()
Object Safety§
This trait is not object safe.