#[repr(u8)]
pub enum PID_A {
DATA0,
DATA2,
DATA1,
MDATA,
}
Expand description
Packet ID
Value on reset: 0
Variants
DATA0
0: DATA0 PID.
DATA2
1: DATA2 PID.
DATA1
2: DATA1 PID.
MDATA
3: MDATA (non-control) / SETUP (control) PID.
Trait Implementations
impl Copy for PID_A
impl StructuralPartialEq for PID_A
Auto Trait Implementations
impl RefUnwindSafe for PID_A
impl Send for PID_A
impl Sync for PID_A
impl Unpin for PID_A
impl UnwindSafe for PID_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