Type Alias esp32h2::usb_device::int_raw::W

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

Register INT_RAW writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn jtag_in_flush_int_raw( &mut self ) -> JTAG_IN_FLUSH_INT_RAW_W<'_, INT_RAW_SPEC, 0>

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_int_raw(&mut self) -> SOF_INT_RAW_W<'_, INT_RAW_SPEC, 1>

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

source

pub fn serial_out_recv_pkt_int_raw( &mut self ) -> SERIAL_OUT_RECV_PKT_INT_RAW_W<'_, INT_RAW_SPEC, 2>

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

source

pub fn serial_in_empty_int_raw( &mut self ) -> SERIAL_IN_EMPTY_INT_RAW_W<'_, INT_RAW_SPEC, 3>

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

source

pub fn pid_err_int_raw(&mut self) -> PID_ERR_INT_RAW_W<'_, INT_RAW_SPEC, 4>

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

source

pub fn crc5_err_int_raw(&mut self) -> CRC5_ERR_INT_RAW_W<'_, INT_RAW_SPEC, 5>

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

source

pub fn crc16_err_int_raw(&mut self) -> CRC16_ERR_INT_RAW_W<'_, INT_RAW_SPEC, 6>

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

source

pub fn stuff_err_int_raw(&mut self) -> STUFF_ERR_INT_RAW_W<'_, INT_RAW_SPEC, 7>

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

source

pub fn in_token_rec_in_ep1_int_raw( &mut self ) -> IN_TOKEN_REC_IN_EP1_INT_RAW_W<'_, INT_RAW_SPEC, 8>

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_int_raw( &mut self ) -> USB_BUS_RESET_INT_RAW_W<'_, INT_RAW_SPEC, 9>

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

source

pub fn out_ep1_zero_payload_int_raw( &mut self ) -> OUT_EP1_ZERO_PAYLOAD_INT_RAW_W<'_, INT_RAW_SPEC, 10>

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_int_raw( &mut self ) -> OUT_EP2_ZERO_PAYLOAD_INT_RAW_W<'_, INT_RAW_SPEC, 11>

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

source

pub fn rts_chg_int_raw(&mut self) -> RTS_CHG_INT_RAW_W<'_, INT_RAW_SPEC, 12>

Bit 12 - The raw interrupt bit turns to high level when level of RTS from usb serial channel is changed.

source

pub fn dtr_chg_int_raw(&mut self) -> DTR_CHG_INT_RAW_W<'_, INT_RAW_SPEC, 13>

Bit 13 - The raw interrupt bit turns to high level when level of DTR from usb serial channel is changed.

source

pub fn get_line_code_int_raw( &mut self ) -> GET_LINE_CODE_INT_RAW_W<'_, INT_RAW_SPEC, 14>

Bit 14 - The raw interrupt bit turns to high level when level of GET LINE CODING request is received.

source

pub fn set_line_code_int_raw( &mut self ) -> SET_LINE_CODE_INT_RAW_W<'_, INT_RAW_SPEC, 15>

Bit 15 - The raw interrupt bit turns to high level when level of SET LINE CODING request is received.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual