Enum stm32_metapac::eth::vals::Tps
#[repr(u8)]pub enum Tps {
STOPPED = 0,
RUNNINGFETCHING = 1,
RUNNINGWAITING = 2,
RUNNINGREADING = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
SUSPENDED = 6,
RUNNING = 7,
}
Variants§
STOPPED = 0
Stopped, Reset or Stop Transmit command issued
RUNNINGFETCHING = 1
Running, fetching transmit transfer descriptor
RUNNINGWAITING = 2
Running, waiting for status
RUNNINGREADING = 3
Running, reading data from host memory buffer
_RESERVED_4 = 4
_RESERVED_5 = 5
SUSPENDED = 6
Suspended, transmit descriptor unavailable or transmit buffer underflow
RUNNING = 7
Running, closing transmit descriptor
Implementations§
Trait Implementations§
§impl Ord for Tps
impl Ord for Tps
§impl PartialOrd for Tps
impl PartialOrd for Tps
§fn partial_cmp(&self, other: &Tps) -> Option<Ordering>
fn partial_cmp(&self, other: &Tps) -> 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 Tps
impl Eq for Tps
impl StructuralEq for Tps
impl StructuralPartialEq for Tps
Auto Trait Implementations§
impl RefUnwindSafe for Tps
impl Send for Tps
impl Sync for Tps
impl Unpin for Tps
impl UnwindSafe for Tps
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