Type Alias esp32c3::usb_device::int_raw::R

source ·
pub type R = R<INT_RAW_SPEC>;
Expand description

Register INT_RAW reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn jtag_in_flush(&self) -> JTAG_IN_FLUSH_R

Bit 0 - The raw interrupt bit turns to high level when flush cmd is received for IN endpoint 2 of JTAG.

source

pub fn sof(&self) -> SOF_R

Bit 1 - The raw interrupt bit turns to high level when SOF frame is received.

source

pub fn serial_out_recv_pkt(&self) -> SERIAL_OUT_RECV_PKT_R

Bit 2 - The raw interrupt bit turns to high level when Serial Port OUT Endpoint received one packet.

source

pub fn serial_in_empty(&self) -> SERIAL_IN_EMPTY_R

Bit 3 - The raw interrupt bit turns to high level when Serial Port IN Endpoint is empty.

source

pub fn pid_err(&self) -> PID_ERR_R

Bit 4 - The raw interrupt bit turns to high level when pid error is detected.

source

pub fn crc5_err(&self) -> CRC5_ERR_R

Bit 5 - The raw interrupt bit turns to high level when CRC5 error is detected.

source

pub fn crc16_err(&self) -> CRC16_ERR_R

Bit 6 - The raw interrupt bit turns to high level when CRC16 error is detected.

source

pub fn stuff_err(&self) -> STUFF_ERR_R

Bit 7 - The raw interrupt bit turns to high level when stuff error is detected.

source

pub fn in_token_rec_in_ep1(&self) -> IN_TOKEN_REC_IN_EP1_R

Bit 8 - The raw interrupt bit turns to high level when IN token for IN endpoint 1 is received.

source

pub fn usb_bus_reset(&self) -> USB_BUS_RESET_R

Bit 9 - The raw interrupt bit turns to high level when usb bus reset is detected.

source

pub fn out_ep1_zero_payload(&self) -> OUT_EP1_ZERO_PAYLOAD_R

Bit 10 - The raw interrupt bit turns to high level when OUT endpoint 1 received packet with zero palyload.

source

pub fn out_ep2_zero_payload(&self) -> OUT_EP2_ZERO_PAYLOAD_R

Bit 11 - The raw interrupt bit turns to high level when OUT endpoint 2 received packet with zero palyload.