Enum stm32_hal2::clocks::UsbSrc
source · [−]#[repr(u8)]
pub enum UsbSrc {
Disabled,
Pll1Q,
Pll3Q,
Hsi48,
}
Expand description
Selects USB clock source. Sets R2CCIPR2R reg, USBSEL field.
Variants
Disabled
Pll1Q
Pll3Q
Hsi48
Trait Implementations
impl Copy for UsbSrc
impl StructuralPartialEq for UsbSrc
Auto Trait Implementations
impl RefUnwindSafe for UsbSrc
impl Send for UsbSrc
impl Sync for UsbSrc
impl Unpin for UsbSrc
impl UnwindSafe for UsbSrc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more