#[repr(u8)]
pub enum STAT_TX_A {
Disabled,
Stall,
Nak,
Valid,
}
Expand description
Status bits, for transmission transfers
Value on reset: 0
Variants
Disabled
0: all transmission requests addressed to this endpoint are ignored
Stall
1: the endpoint is stalled and all transmission requests result in a STALL handshake
Nak
2: the endpoint is naked and all transmission requests result in a NAK handshake
Valid
3: this endpoint is enabled for transmission
Trait Implementations
impl Copy for STAT_TX_A
impl StructuralPartialEq for STAT_TX_A
Auto Trait Implementations
impl RefUnwindSafe for STAT_TX_A
impl Send for STAT_TX_A
impl Sync for STAT_TX_A
impl Unpin for STAT_TX_A
impl UnwindSafe for STAT_TX_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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