#[repr(u8)]pub enum PKT_STS_A {
VALUE1 = 1,
VALUE2 = 2,
VALUE3 = 3,
VALUE4 = 4,
VALUE5 = 6,
}
Expand description
Packet Status
Value on reset: 0
Variants§
VALUE1 = 1
1: Global OUT NAK (triggers an interrupt)
VALUE2 = 2
2: OUT data packet received
VALUE3 = 3
3: OUT transfer completed (triggers an interrupt)
VALUE4 = 4
4: SETUP transaction completed (triggers an interrupt)
VALUE5 = 6
6: SETUP data packet received
Trait Implementations§
source§impl PartialEq for PKT_STS_A
impl PartialEq for PKT_STS_A
impl Copy for PKT_STS_A
impl Eq for PKT_STS_A
impl IsEnum for PKT_STS_A
impl StructuralPartialEq for PKT_STS_A
Auto Trait Implementations§
impl Freeze for PKT_STS_A
impl RefUnwindSafe for PKT_STS_A
impl Send for PKT_STS_A
impl Sync for PKT_STS_A
impl Unpin for PKT_STS_A
impl UnwindSafe for PKT_STS_A
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