Enum stm32_metapac::rcc::vals::UsbOtgFssel
#[repr(u8)]pub enum UsbOtgFssel {
HSI48 = 0,
PLL3_Q = 1,
HSE = 2,
CLK48MOHCI = 3,
}
Variants§
HSI48 = 0
hsi48_ker_ck (default after reset).
PLL3_Q = 1
pll3_q_ck.
HSE = 2
hse_ker_ck.
CLK48MOHCI = 3
clk48mohci.
Implementations§
§impl UsbOtgFssel
impl UsbOtgFssel
pub const fn from_bits(val: u8) -> UsbOtgFssel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for UsbOtgFssel
impl Clone for UsbOtgFssel
§fn clone(&self) -> UsbOtgFssel
fn clone(&self) -> UsbOtgFssel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<UsbOtgFssel> for u8
impl From<UsbOtgFssel> for u8
§fn from(val: UsbOtgFssel) -> u8
fn from(val: UsbOtgFssel) -> u8
Converts to this type from the input type.
§impl From<u8> for UsbOtgFssel
impl From<u8> for UsbOtgFssel
§fn from(val: u8) -> UsbOtgFssel
fn from(val: u8) -> UsbOtgFssel
Converts to this type from the input type.
§impl Ord for UsbOtgFssel
impl Ord for UsbOtgFssel
§impl PartialEq for UsbOtgFssel
impl PartialEq for UsbOtgFssel
§impl PartialOrd for UsbOtgFssel
impl PartialOrd for UsbOtgFssel
impl Copy for UsbOtgFssel
impl Eq for UsbOtgFssel
impl StructuralPartialEq for UsbOtgFssel
Auto Trait Implementations§
impl Freeze for UsbOtgFssel
impl RefUnwindSafe for UsbOtgFssel
impl Send for UsbOtgFssel
impl Sync for UsbOtgFssel
impl Unpin for UsbOtgFssel
impl UnwindSafe for UsbOtgFssel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)