[][src]Enum lpc55s6x_pac::usb0::info::ERR_CODE_A

#[repr(u8)]
pub enum ERR_CODE_A {
    NO_ERROR,
    PID_ENCODING_ERROR,
    PID_UNKNOWN,
    PACKET_UNEXPECTED,
    TOKEN_CRC_ERROR,
    DATA_CRC_ERROR,
    TIMEOUT,
    BABBLE,
    TRUNCATED_EOP,
    SENT_RECEIVED_NAK,
    SENT_STALL,
    OVERRUN,
    SENT_EMPTY_PACKET,
    BITSTUFF_ERROR,
    SYNC_ERROR,
    WRONG_DATA_TOGGLE,
}

The error code which last occurred:

Value on reset: 0

Variants

NO_ERROR

0: No error

PID_ENCODING_ERROR

1: PID encoding error

PID_UNKNOWN

2: PID unknown

PACKET_UNEXPECTED

3: Packet unexpected

TOKEN_CRC_ERROR

4: Token CRC error

DATA_CRC_ERROR

5: Data CRC error

TIMEOUT

6: Time out

BABBLE

7: Babble

TRUNCATED_EOP

8: Truncated EOP

SENT_RECEIVED_NAK

9: Sent/Received NAK

SENT_STALL

10: Sent Stall

OVERRUN

11: Overrun

SENT_EMPTY_PACKET

12: Sent empty packet

BITSTUFF_ERROR

13: Bitstuff error

SYNC_ERROR

14: Sync error

WRONG_DATA_TOGGLE

15: Wrong data toggle

Trait Implementations

impl Clone for ERR_CODE_A[src]

impl Copy for ERR_CODE_A[src]

impl Debug for ERR_CODE_A[src]

impl From<ERR_CODE_A> for u8[src]

impl PartialEq<ERR_CODE_A> for ERR_CODE_A[src]

impl StructuralPartialEq for ERR_CODE_A[src]

Auto Trait Implementations

impl Send for ERR_CODE_A

impl Sync for ERR_CODE_A

impl Unpin for ERR_CODE_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.