#[repr(u8)]
pub enum STAT_RX_A {
DISABLED,
STALL,
NAK,
VALID,
}
Expand description
Status bits, for reception transfers
Value on reset: 0
Variants
DISABLED
0: all reception requests addressed to this endpoint are ignored
STALL
1: the endpoint is stalled and all reception requests result in a STALL handshake
NAK
2: the endpoint is naked and all reception requests result in a NAK handshake
VALID
3: this endpoint is enabled for reception
Trait Implementations
impl Copy for STAT_RX_A
impl StructuralPartialEq for STAT_RX_A
Auto Trait Implementations
impl RefUnwindSafe for STAT_RX_A
impl Send for STAT_RX_A
impl Sync for STAT_RX_A
impl Unpin for STAT_RX_A
impl UnwindSafe for STAT_RX_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