pub struct Config { /* private fields */ }
Expand description
Clocks configutation
Implementations§
Source§impl Config
impl Config
pub fn new(mux: SysClockSrc) -> Self
pub fn pll() -> Self
pub fn hsi(psc: Prescaler) -> Self
pub fn lsi() -> Self
pub fn clock_src(self, mux: SysClockSrc) -> Self
pub fn pll_cfg(self, cfg: PllConfig) -> Self
pub fn ahb_psc(self, psc: Prescaler) -> Self
pub fn apb_psc(self, psc: Prescaler) -> Self
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