Enum stm32f429i_disc::stm32f4::stm32f429::ethernet_dma::dmasr::TPSR
pub enum TPSR {
STOPPED,
RUNNINGFETCHING,
RUNNINGWAITING,
RUNNINGREADING,
SUSPENDED,
RUNNING,
_Reserved(u8),
}
Expand description
Possible values of the field TPS
Variants
STOPPED
Stopped, Reset or Stop Transmit command issued
RUNNINGFETCHING
Running, fetching transmit transfer descriptor
RUNNINGWAITING
Running, waiting for status
RUNNINGREADING
Running, reading data from host memory buffer
SUSPENDED
Suspended, transmit descriptor unavailable or transmit buffer underflow
RUNNING
Running, closing transmit descriptor
_Reserved(u8)
Reserved
Implementations
impl TPSR
impl TPSR
pub fn is_stopped(&self) -> bool
pub fn is_stopped(&self) -> bool
Checks if the value of the field is STOPPED
pub fn is_running_fetching(&self) -> bool
pub fn is_running_fetching(&self) -> bool
Checks if the value of the field is RUNNINGFETCHING
pub fn is_running_waiting(&self) -> bool
pub fn is_running_waiting(&self) -> bool
Checks if the value of the field is RUNNINGWAITING
pub fn is_running_reading(&self) -> bool
pub fn is_running_reading(&self) -> bool
Checks if the value of the field is RUNNINGREADING
pub fn is_suspended(&self) -> bool
pub fn is_suspended(&self) -> bool
Checks if the value of the field is SUSPENDED
pub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Checks if the value of the field is RUNNING
Trait Implementations
impl Copy for TPSR
impl StructuralPartialEq for TPSR
Auto Trait Implementations
impl RefUnwindSafe for TPSR
impl Send for TPSR
impl Sync for TPSR
impl Unpin for TPSR
impl UnwindSafe for TPSR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more