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
§fn cmp(&self, other: &UsbOtgFssel) -> Ordering
fn cmp(&self, other: &UsbOtgFssel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for UsbOtgFssel
impl PartialEq for UsbOtgFssel
§fn eq(&self, other: &UsbOtgFssel) -> bool
fn eq(&self, other: &UsbOtgFssel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for UsbOtgFssel
impl PartialOrd for UsbOtgFssel
§fn partial_cmp(&self, other: &UsbOtgFssel) -> Option<Ordering>
fn partial_cmp(&self, other: &UsbOtgFssel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for UsbOtgFssel
impl Eq for UsbOtgFssel
impl StructuralEq for UsbOtgFssel
impl StructuralPartialEq for UsbOtgFssel
Auto Trait Implementations§
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