Enum xmc4300::usb0::grxstsr_devicemode::PktSts
source · #[repr(u8)]pub enum PktSts {
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 PktSts
impl PartialEq for PktSts
impl Copy for PktSts
impl Eq for PktSts
impl StructuralPartialEq for PktSts
Auto Trait Implementations§
impl RefUnwindSafe for PktSts
impl Send for PktSts
impl Sync for PktSts
impl Unpin for PktSts
impl UnwindSafe for PktSts
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