Enum stm32f407g_disc::stm32f4::stm32f407::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