[−][src]Enum lpc55s6x_pac::usb0::info::ERR_CODER
Possible values of the field ERR_CODE
Variants
NO_ERRORNo error
PID_ENCODING_ERRORPID encoding error
PID_UNKNOWNPID unknown
PACKET_UNEXPECTEDPacket unexpected
TOKEN_CRC_ERRORToken CRC error
DATA_CRC_ERRORData CRC error
TIMEOUTTime out
BABBLEBabble
TRUNCATED_EOPTruncated EOP
SENT_RECEIVED_NAKSent/Received NAK
SENT_STALLSent Stall
OVERRUNOverrun
SENT_EMPTY_PACKETSent empty packet
BITSTUFF_ERRORBitstuff error
SYNC_ERRORSync error
WRONG_DATA_TOGGLEWrong 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]
fn eq(&self, other: &ERR_CODER) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
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>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
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