Enum Usbphycsel
#[repr(u8)]pub enum Usbphycsel {
HSE = 0,
HSE_DIV_2 = 1,
PLL3_Q = 2,
_RESERVED_3 = 3,
}
Variants§
HSE = 0
hse_ker_ck (default after reset).
HSE_DIV_2 = 1
hse_ker_ck / 2.
PLL3_Q = 2
pll3_q_ck.
_RESERVED_3 = 3
Implementations§
§impl Usbphycsel
impl Usbphycsel
pub const fn from_bits(val: u8) -> Usbphycsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Usbphycsel
impl Clone for Usbphycsel
§fn clone(&self) -> Usbphycsel
fn clone(&self) -> Usbphycsel
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<u8> for Usbphycsel
impl From<u8> for Usbphycsel
§fn from(val: u8) -> Usbphycsel
fn from(val: u8) -> Usbphycsel
Converts to this type from the input type.
§impl Ord for Usbphycsel
impl Ord for Usbphycsel
§impl PartialEq for Usbphycsel
impl PartialEq for Usbphycsel
§impl PartialOrd for Usbphycsel
impl PartialOrd for Usbphycsel
impl Copy for Usbphycsel
impl Eq for Usbphycsel
impl StructuralPartialEq for Usbphycsel
Auto Trait Implementations§
impl Freeze for Usbphycsel
impl RefUnwindSafe for Usbphycsel
impl Send for Usbphycsel
impl Sync for Usbphycsel
impl Unpin for Usbphycsel
impl UnwindSafe for Usbphycsel
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