Enum stm32_metapac::otg::vals::Pktstsd
#[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§
§impl Ord for Pktstsd
impl Ord for Pktstsd
§impl PartialOrd for Pktstsd
impl PartialOrd for Pktstsd
§fn partial_cmp(&self, other: &Pktstsd) -> Option<Ordering>
fn partial_cmp(&self, other: &Pktstsd) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Pktstsd
impl Eq for Pktstsd
impl StructuralEq for Pktstsd
impl StructuralPartialEq for Pktstsd
Auto Trait Implementations§
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