[−][src]Type Definition lpc54606_pac::usb0::info::R
type R = R<u32, INFO>;
Reader of register INFO
Methods
impl R
[src]
pub fn frame_nr(&self) -> FRAME_NR_R
[src]
Bits 0:10 - Frame number. This contains the frame number of the last successfully received SOF. In case no SOF was received by the device at the beginning of a frame, the frame number returned is that of the last successfully received SOF. In case the SOF frame number contained a CRC error, the frame number returned will be the corrupted frame number as received by the device.
pub fn err_code(&self) -> ERR_CODE_R
[src]
Bits 11:14 - The error code which last occurred:
pub fn minrev(&self) -> MINREV_R
[src]
Bits 16:23 - Minor Revision.
pub fn majrev(&self) -> MAJREV_R
[src]
Bits 24:31 - Major Revision.