pub enum TxRunningState {
Stopped,
Running,
Reserved,
Suspended,
Unknown,
}
Expand description
The run state of the TX DMA.
Variants§
Stopped
Reset or Stop Transmit Command issued
Running
Fetching transmit transfer descriptor; Waiting for status; Reading Data from host memory buffer and queuing it to transmit buffer
Reserved
Reserved for future use
Suspended
Transmit descriptor unavailable
Unknown
Invalid value
Implementations§
Source§impl RunningState
impl RunningState
Sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Check whether this state represents that the TX DMA is running
Trait Implementations§
Source§impl Debug for RunningState
impl Debug for RunningState
Source§impl PartialEq for RunningState
impl PartialEq for RunningState
impl StructuralPartialEq for RunningState
Auto Trait Implementations§
impl Freeze for RunningState
impl RefUnwindSafe for RunningState
impl Send for RunningState
impl Sync for RunningState
impl Unpin for RunningState
impl UnwindSafe for RunningState
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