Enum d1_pac::emac::emac_tx_dma_sta::TX_DMA_STA_A
source · #[repr(u8)]pub enum TX_DMA_STA_A {
STOP = 0,
RUN_FETCH_DESC = 1,
RUN_WAIT_STA = 2,
RUN_TRANS_DATA = 3,
SUSPEND = 6,
RUN_CLOSE_DESC = 7,
}
Expand description
The State of Transmit DMA FSM
Value on reset: 0
Variants§
STOP = 0
0: 0
RUN_FETCH_DESC = 1
1: 1
RUN_WAIT_STA = 2
2: 10
RUN_TRANS_DATA = 3
3: 11
SUSPEND = 6
6: 110
RUN_CLOSE_DESC = 7
7: 111
Trait Implementations§
source§impl Clone for TX_DMA_STA_A
impl Clone for TX_DMA_STA_A
source§fn clone(&self) -> TX_DMA_STA_A
fn clone(&self) -> TX_DMA_STA_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TX_DMA_STA_A
impl Debug for TX_DMA_STA_A
source§impl From<TX_DMA_STA_A> for u8
impl From<TX_DMA_STA_A> for u8
source§fn from(variant: TX_DMA_STA_A) -> Self
fn from(variant: TX_DMA_STA_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for TX_DMA_STA_A
impl PartialEq for TX_DMA_STA_A
impl Copy for TX_DMA_STA_A
impl Eq for TX_DMA_STA_A
impl StructuralPartialEq for TX_DMA_STA_A
Auto Trait Implementations§
impl Freeze for TX_DMA_STA_A
impl RefUnwindSafe for TX_DMA_STA_A
impl Send for TX_DMA_STA_A
impl Sync for TX_DMA_STA_A
impl Unpin for TX_DMA_STA_A
impl UnwindSafe for TX_DMA_STA_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)