[−][src]Enum lpc55s6x_pac::usb0::info::ERR_CODER
Possible values of the field ERR_CODE
Variants
NO_ERROR
No error
PID_ENCODING_ERROR
PID encoding error
PID_UNKNOWN
PID unknown
PACKET_UNEXPECTED
Packet unexpected
TOKEN_CRC_ERROR
Token CRC error
DATA_CRC_ERROR
Data CRC error
TIMEOUT
Time out
BABBLE
Babble
TRUNCATED_EOP
Truncated EOP
SENT_RECEIVED_NAK
Sent/Received NAK
SENT_STALL
Sent Stall
OVERRUN
Overrun
SENT_EMPTY_PACKET
Sent empty packet
BITSTUFF_ERROR
Bitstuff error
SYNC_ERROR
Sync error
WRONG_DATA_TOGGLE
Wrong data toggle
Methods
impl ERR_CODER
[src][−]
pub fn bits(&self) -> u8
[src][−]
Value of the field as raw bits
pub fn is_no_error(&self) -> bool
[src][−]
Checks if the value of the field is NO_ERROR
pub fn is_pid_encoding_error(&self) -> bool
[src][−]
Checks if the value of the field is PID_ENCODING_ERROR
pub fn is_pid_unknown(&self) -> bool
[src][−]
Checks if the value of the field is PID_UNKNOWN
pub fn is_packet_unexpected(&self) -> bool
[src][−]
Checks if the value of the field is PACKET_UNEXPECTED
pub fn is_token_crc_error(&self) -> bool
[src][−]
Checks if the value of the field is TOKEN_CRC_ERROR
pub fn is_data_crc_error(&self) -> bool
[src][−]
Checks if the value of the field is DATA_CRC_ERROR
pub fn is_timeout(&self) -> bool
[src][−]
Checks if the value of the field is TIMEOUT
pub fn is_babble(&self) -> bool
[src][−]
Checks if the value of the field is BABBLE
pub fn is_truncated_eop(&self) -> bool
[src][−]
Checks if the value of the field is TRUNCATED_EOP
pub fn is_sent_received_nak(&self) -> bool
[src][−]
Checks if the value of the field is SENT_RECEIVED_NAK
pub fn is_sent_stall(&self) -> bool
[src][−]
Checks if the value of the field is SENT_STALL
pub fn is_overrun(&self) -> bool
[src][−]
Checks if the value of the field is OVERRUN
pub fn is_sent_empty_packet(&self) -> bool
[src][−]
Checks if the value of the field is SENT_EMPTY_PACKET
pub fn is_bitstuff_error(&self) -> bool
[src][−]
Checks if the value of the field is BITSTUFF_ERROR
pub fn is_sync_error(&self) -> bool
[src][−]
Checks if the value of the field is SYNC_ERROR
pub fn is_wrong_data_toggle(&self) -> bool
[src][−]
Checks if the value of the field is WRONG_DATA_TOGGLE
Trait Implementations
impl PartialEq<ERR_CODER> for ERR_CODER
[src][+]
impl Copy for ERR_CODER
[src]
impl Debug for ERR_CODER
[src][+]
impl Clone for ERR_CODER
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self