Enum UsbOtgFssel
#[repr(u8)]pub enum UsbOtgFssel {
Hsi48 = 0,
Pll3Q = 1,
Hse = 2,
Clk48mohci = 3,
}Variants§
Hsi48 = 0
hsi48_ker_ck (default after reset).
Pll3Q = 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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UsbOtgFssel
§impl Debug for UsbOtgFssel
impl Debug for UsbOtgFssel
impl Eq for UsbOtgFssel
§impl Format for UsbOtgFssel
impl Format for UsbOtgFssel
§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 (const: unstable) · 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
§impl PartialOrd for UsbOtgFssel
impl PartialOrd 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 UnsafeUnpin 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