#[repr(u8)]pub enum Enet1ClkSel {
ENET1_CLK_SEL_0 = 0,
ENET1_CLK_SEL_1 = 1,
}Variants§
ENET1_CLK_SEL_0 = 0
ENET1 TX reference clock driven by ref_enetpll. This clock is also output to pins via the IOMUX. ENET_REF_CLK1 function.
ENET1_CLK_SEL_1 = 1
Gets ENET1 TX reference clock from the ENET1_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 Enet1ClkSel
impl Enet1ClkSel
Trait Implementations§
Source§impl Clone for Enet1ClkSel
impl Clone for Enet1ClkSel
Source§fn clone(&self) -> Enet1ClkSel
fn clone(&self) -> Enet1ClkSel
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 Enet1ClkSel
impl Debug for Enet1ClkSel
Source§impl From<Enet1ClkSel> for u8
impl From<Enet1ClkSel> for u8
Source§fn from(val: Enet1ClkSel) -> u8
fn from(val: Enet1ClkSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Enet1ClkSel
impl From<u8> for Enet1ClkSel
Source§fn from(val: u8) -> Enet1ClkSel
fn from(val: u8) -> Enet1ClkSel
Converts to this type from the input type.
Source§impl Ord for Enet1ClkSel
impl Ord for Enet1ClkSel
Source§fn cmp(&self, other: &Enet1ClkSel) -> Ordering
fn cmp(&self, other: &Enet1ClkSel) -> 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 Enet1ClkSel
impl PartialEq for Enet1ClkSel
Source§impl PartialOrd for Enet1ClkSel
impl PartialOrd for Enet1ClkSel
impl Copy for Enet1ClkSel
impl Eq for Enet1ClkSel
impl StructuralPartialEq for Enet1ClkSel
Auto Trait Implementations§
impl Freeze for Enet1ClkSel
impl RefUnwindSafe for Enet1ClkSel
impl Send for Enet1ClkSel
impl Sync for Enet1ClkSel
impl Unpin for Enet1ClkSel
impl UnwindSafe for Enet1ClkSel
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