pub struct Config { /* private fields */ }
Expand description
Clocks configutation
Implementations§
Source§impl Config
impl Config
pub fn clock_src(self, mux: ClockSrc) -> Self
pub fn ahb_pre(self, pre: AHBPrescaler) -> Self
pub fn apb1_pre(self, pre: APBPrescaler) -> Self
pub fn apb2_pre(self, pre: APBPrescaler) -> Self
pub fn hsi() -> Config
pub fn msi(range: MSIRange) -> Config
pub fn pll(pll_src: PLLSource, pll_mul: PLLMul, pll_div: PLLDiv) -> Config
pub fn hse<T>(freq: T) -> Config
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