Enum stm32_metapac::ucpd::vals::Txmode
#[repr(u8)]pub enum Txmode {
PACKET = 0,
CABLERESET = 1,
BIST = 2,
_RESERVED_3 = 3,
}
Variants§
PACKET = 0
Transmission of Tx packet previously defined in other registers
CABLERESET = 1
Cable Reset sequence
BIST = 2
BIST test sequence (BIST Carrier Mode 2)
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Txmode
impl Ord for Txmode
§impl PartialOrd for Txmode
impl PartialOrd for Txmode
§fn partial_cmp(&self, other: &Txmode) -> Option<Ordering>
fn partial_cmp(&self, other: &Txmode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Txmode
impl Eq for Txmode
impl StructuralEq for Txmode
impl StructuralPartialEq for Txmode
Auto Trait Implementations§
impl RefUnwindSafe for Txmode
impl Send for Txmode
impl Sync for Txmode
impl Unpin for Txmode
impl UnwindSafe for Txmode
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