Enum stm32f407g_disc::ethernet_dma::dmasr::RPSR
pub enum RPSR {
STOPPED,
RUNNINGFETCHING,
RUNNINGWAITING,
SUSPENDED,
RUNNINGWRITING,
_Reserved(u8),
}
Expand description
Possible values of the field RPS
Variants§
STOPPED
Stopped, reset or Stop Receive command issued
RUNNINGFETCHING
Running, fetching receive transfer descriptor
RUNNINGWAITING
Running, waiting for receive packet
SUSPENDED
Suspended, receive descriptor unavailable
RUNNINGWRITING
Running, writing data to host memory buffer
_Reserved(u8)
Reserved
Implementations§
§impl RPSR
impl RPSR
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_suspended(&self) -> bool
pub fn is_suspended(&self) -> bool
Checks if the value of the field is SUSPENDED
pub fn is_running_writing(&self) -> bool
pub fn is_running_writing(&self) -> bool
Checks if the value of the field is RUNNINGWRITING