#[repr(u8)]pub enum Enet2ClkSel {
ENET2_CLK_SEL_0 = 0,
ENET2_CLK_SEL_1 = 1,
}Variants§
ENET2_CLK_SEL_0 = 0
ENET2 TX reference clock driven by ref_enetpll. This clock is also output to pins via the IOMUX. ENET2_REF_CLK function.
ENET2_CLK_SEL_1 = 1
Gets ENET2 TX reference clock from the ENET2_TX_CLK pin. In this use case, an external OSC provides the clock for both the external PHY and the internal controller.
Implementations§
Source§impl Enet2ClkSel
impl Enet2ClkSel
Trait Implementations§
Source§impl Clone for Enet2ClkSel
impl Clone for Enet2ClkSel
Source§fn clone(&self) -> Enet2ClkSel
fn clone(&self) -> Enet2ClkSel
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 Enet2ClkSel
impl Debug for Enet2ClkSel
Source§impl From<Enet2ClkSel> for u8
impl From<Enet2ClkSel> for u8
Source§fn from(val: Enet2ClkSel) -> u8
fn from(val: Enet2ClkSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Enet2ClkSel
impl From<u8> for Enet2ClkSel
Source§fn from(val: u8) -> Enet2ClkSel
fn from(val: u8) -> Enet2ClkSel
Converts to this type from the input type.
Source§impl Ord for Enet2ClkSel
impl Ord for Enet2ClkSel
Source§fn cmp(&self, other: &Enet2ClkSel) -> Ordering
fn cmp(&self, other: &Enet2ClkSel) -> 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 Enet2ClkSel
impl PartialEq for Enet2ClkSel
Source§impl PartialOrd for Enet2ClkSel
impl PartialOrd for Enet2ClkSel
impl Copy for Enet2ClkSel
impl Eq for Enet2ClkSel
impl StructuralPartialEq for Enet2ClkSel
Auto Trait Implementations§
impl Freeze for Enet2ClkSel
impl RefUnwindSafe for Enet2ClkSel
impl Send for Enet2ClkSel
impl Sync for Enet2ClkSel
impl Unpin for Enet2ClkSel
impl UnwindSafe for Enet2ClkSel
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