pub enum ClockSrc {
MSI(Msirange),
HSE(Hertz),
HSI,
PLL1_R(PllConfig),
}
Variants§
MSI(Msirange)
Use an internal medium speed oscillator (MSIS) as the system clock.
HSE(Hertz)
Use the external high speed clock as the system clock.
HSE clocks faster than 25 MHz require at least VoltageScale::RANGE3
, and HSE clocks must
never exceed 50 MHz.
HSI
Use the 16 MHz internal high speed oscillator as the system clock.
PLL1_R(PllConfig)
Use PLL1 as the system clock.
Trait Implementations§
impl Copy for ClockSrc
Auto Trait Implementations§
impl Freeze for ClockSrc
impl RefUnwindSafe for ClockSrc
impl Send for ClockSrc
impl Sync for ClockSrc
impl Unpin for ClockSrc
impl UnwindSafe for ClockSrc
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