Enum Otgphyrefcksel
#[repr(u8)]pub enum Otgphyrefcksel {
Show 16 variants
_RESERVED_0 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
Mhz16 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
Mhz192 = 8,
Mhz20 = 9,
Mhz24 = 10,
Mhz32 = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
Mhz26 = 14,
_RESERVED_f = 15,
}Variants§
_RESERVED_0 = 0
_RESERVED_1 = 1
_RESERVED_2 = 2
Mhz16 = 3
The kernel clock frequency is 16 MHz.
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Mhz192 = 8
The kernel clock frequency is 19.
Mhz20 = 9
The kernel clock frequency is 20 MHz.
Mhz24 = 10
The kernel clock frequency is 24 MHz (default after reset).
Mhz32 = 11
The kernel clock frequency is 32 MHz.
_RESERVED_c = 12
_RESERVED_d = 13
Mhz26 = 14
The kernel clock frequency is 26 MHz.
_RESERVED_f = 15
Implementations§
§impl Otgphyrefcksel
impl Otgphyrefcksel
pub const fn from_bits(val: u8) -> Otgphyrefcksel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Otgphyrefcksel
impl Clone for Otgphyrefcksel
§fn clone(&self) -> Otgphyrefcksel
fn clone(&self) -> Otgphyrefcksel
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 Otgphyrefcksel
§impl Debug for Otgphyrefcksel
impl Debug for Otgphyrefcksel
impl Eq for Otgphyrefcksel
§impl From<Otgphyrefcksel> for u8
impl From<Otgphyrefcksel> for u8
§fn from(val: Otgphyrefcksel) -> u8
fn from(val: Otgphyrefcksel) -> u8
Converts to this type from the input type.
§impl From<u8> for Otgphyrefcksel
impl From<u8> for Otgphyrefcksel
§fn from(val: u8) -> Otgphyrefcksel
fn from(val: u8) -> Otgphyrefcksel
Converts to this type from the input type.
§impl Ord for Otgphyrefcksel
impl Ord for Otgphyrefcksel
§fn cmp(&self, other: &Otgphyrefcksel) -> Ordering
fn cmp(&self, other: &Otgphyrefcksel) -> 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 Otgphyrefcksel
impl PartialEq for Otgphyrefcksel
§impl PartialOrd for Otgphyrefcksel
impl PartialOrd for Otgphyrefcksel
impl StructuralPartialEq for Otgphyrefcksel
Auto Trait Implementations§
impl Freeze for Otgphyrefcksel
impl RefUnwindSafe for Otgphyrefcksel
impl Send for Otgphyrefcksel
impl Sync for Otgphyrefcksel
impl Unpin for Otgphyrefcksel
impl UnsafeUnpin for Otgphyrefcksel
impl UnwindSafe for Otgphyrefcksel
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