Enum xmc4300::usb0::grxstsr_hostmode::PKT_STS_A
source · #[repr(u8)]pub enum PKT_STS_A {
VALUE1 = 2,
VALUE2 = 3,
VALUE3 = 5,
VALUE4 = 7,
}
Expand description
Packet Status
Value on reset: 0
Variants§
VALUE1 = 2
2: IN data packet received
VALUE2 = 3
3: IN transfer completed (triggers an interrupt)
VALUE3 = 5
5: Data toggle error (triggers an interrupt)
VALUE4 = 7
7: Channel halted (triggers an interrupt)
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