#[repr(u8)]pub enum Pktstsd {
Show 16 variants
_RESERVED_0 = 0,
OUT_NAK = 1,
OUT_DATA_RX = 2,
OUT_DATA_DONE = 3,
SETUP_DATA_DONE = 4,
_RESERVED_5 = 5,
SETUP_DATA_RX = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
_RESERVED_0 = 0
OUT_NAK = 1
Global OUT NAK (triggers an interrupt)
OUT_DATA_RX = 2
OUT data packet received
OUT_DATA_DONE = 3
OUT transfer completed (triggers an interrupt)
SETUP_DATA_DONE = 4
SETUP transaction completed (triggers an interrupt)
_RESERVED_5 = 5
SETUP_DATA_RX = 6
SETUP data packet received
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Ord for Pktstsd
impl Ord for Pktstsd
Source§impl PartialOrd for Pktstsd
impl PartialOrd for Pktstsd
impl Copy for Pktstsd
impl Eq for Pktstsd
impl StructuralPartialEq for Pktstsd
Auto Trait Implementations§
impl Freeze for Pktstsd
impl RefUnwindSafe for Pktstsd
impl Send for Pktstsd
impl Sync for Pktstsd
impl Unpin for Pktstsd
impl UnwindSafe for Pktstsd
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§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
)