pub enum Clock48MhzSrc {
Hsi48(Hsi48Config),
PllQ,
}
Expand description
Sets the source for the 48MHz clock to the USB and RNG peripherals.
Variants§
Hsi48(Hsi48Config)
Use the High Speed Internal Oscillator. For USB usage, the CRS must be used to calibrate the oscillator to comply with the USB specification for oscillator tolerance.
PllQ
Use the PLLQ output. The PLL must be configured to output a 48MHz clock. For USB usage the PLL needs to be using the HSE source to comply with the USB specification for oscillator tolerance.
Auto Trait Implementations§
impl Freeze for Clock48MhzSrc
impl RefUnwindSafe for Clock48MhzSrc
impl Send for Clock48MhzSrc
impl Sync for Clock48MhzSrc
impl Unpin for Clock48MhzSrc
impl UnwindSafe for Clock48MhzSrc
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