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