Struct embassy_stm32::rcc::Config
source ยท pub struct Config {
pub hsi: bool,
pub hse: Option<Hse>,
pub sys: Sysclk,
pub ahb_pre: AHBPrescaler,
pub apb1_pre: APBPrescaler,
pub apb2_pre: APBPrescaler,
pub apb7_pre: APBPrescaler,
pub ls: LsConfig,
pub voltage_scale: VoltageScale,
pub mux: ClockMux,
}
Expand description
Clocks configuration
Fieldsยง
ยงhsi: bool
ยงhse: Option<Hse>
ยงsys: Sysclk
ยงahb_pre: AHBPrescaler
ยงapb1_pre: APBPrescaler
ยงapb2_pre: APBPrescaler
ยงapb7_pre: APBPrescaler
ยงls: LsConfig
ยงvoltage_scale: VoltageScale
ยงmux: ClockMux
Per-peripheral kernel clock selection muxes
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)