#[repr(u8)]pub enum UsbhsfclkselSel {
XTALIN_CLK = 0,
MAIN_CLK = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
NONE = 7,
}Variants§
XTALIN_CLK = 0
XTALIN Clock.
MAIN_CLK = 1
Main Clock.
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
NONE = 7
None, this may be selected in order to reduce power when no output is needed.
Implementations§
Trait Implementations§
Source§impl Clone for UsbhsfclkselSel
impl Clone for UsbhsfclkselSel
Source§fn clone(&self) -> UsbhsfclkselSel
fn clone(&self) -> UsbhsfclkselSel
Returns a duplicate 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 moreSource§impl Debug for UsbhsfclkselSel
impl Debug for UsbhsfclkselSel
Source§impl From<UsbhsfclkselSel> for u8
impl From<UsbhsfclkselSel> for u8
Source§fn from(val: UsbhsfclkselSel) -> u8
fn from(val: UsbhsfclkselSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for UsbhsfclkselSel
impl From<u8> for UsbhsfclkselSel
Source§fn from(val: u8) -> UsbhsfclkselSel
fn from(val: u8) -> UsbhsfclkselSel
Converts to this type from the input type.
Source§impl Ord for UsbhsfclkselSel
impl Ord for UsbhsfclkselSel
Source§fn cmp(&self, other: &UsbhsfclkselSel) -> Ordering
fn cmp(&self, other: &UsbhsfclkselSel) -> 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
Source§impl PartialEq for UsbhsfclkselSel
impl PartialEq for UsbhsfclkselSel
Source§impl PartialOrd for UsbhsfclkselSel
impl PartialOrd for UsbhsfclkselSel
impl Copy for UsbhsfclkselSel
impl Eq for UsbhsfclkselSel
impl StructuralPartialEq for UsbhsfclkselSel
Auto Trait Implementations§
impl Freeze for UsbhsfclkselSel
impl RefUnwindSafe for UsbhsfclkselSel
impl Send for UsbhsfclkselSel
impl Sync for UsbhsfclkselSel
impl Unpin for UsbhsfclkselSel
impl UnwindSafe for UsbhsfclkselSel
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