Enum xmc4300::ecat0::mii_phy_adr::PHY_CADDR_A
source · pub enum PHY_CADDR_A {
VALUE1 = 0,
VALUE2 = 1,
}
Expand description
Show configured PHY address of port 0-3 in registerECAT0_MII_CONT_STAT[7:3]. Select port x with bits [4:0] of this register (valid values are 0-3)
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for PHY_CADDR_A
impl Clone for PHY_CADDR_A
source§fn clone(&self) -> PHY_CADDR_A
fn clone(&self) -> PHY_CADDR_A
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 moresource§impl Debug for PHY_CADDR_A
impl Debug for PHY_CADDR_A
source§impl From<PHY_CADDR_A> for bool
impl From<PHY_CADDR_A> for bool
source§fn from(variant: PHY_CADDR_A) -> Self
fn from(variant: PHY_CADDR_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PHY_CADDR_A
impl PartialEq for PHY_CADDR_A
source§fn eq(&self, other: &PHY_CADDR_A) -> bool
fn eq(&self, other: &PHY_CADDR_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PHY_CADDR_A
impl Eq for PHY_CADDR_A
impl StructuralPartialEq for PHY_CADDR_A
Auto Trait Implementations§
impl Freeze for PHY_CADDR_A
impl RefUnwindSafe for PHY_CADDR_A
impl Send for PHY_CADDR_A
impl Sync for PHY_CADDR_A
impl Unpin for PHY_CADDR_A
impl UnwindSafe for PHY_CADDR_A
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