Type Alias esp32c3::usb_device::int_ena::W

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

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W<'_, INT_ENA_SPEC>

Bit 0 - The interrupt enable bit for the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt.

source

pub fn sof(&mut self) -> SOF_W<'_, INT_ENA_SPEC>

Bit 1 - The interrupt enable bit for the USB_DEVICE_SOF_INT interrupt.

source

pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W<'_, INT_ENA_SPEC>

Bit 2 - The interrupt enable bit for the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt.

source

pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W<'_, INT_ENA_SPEC>

Bit 3 - The interrupt enable bit for the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt.

source

pub fn pid_err(&mut self) -> PID_ERR_W<'_, INT_ENA_SPEC>

Bit 4 - The interrupt enable bit for the USB_DEVICE_PID_ERR_INT interrupt.

source

pub fn crc5_err(&mut self) -> CRC5_ERR_W<'_, INT_ENA_SPEC>

Bit 5 - The interrupt enable bit for the USB_DEVICE_CRC5_ERR_INT interrupt.

source

pub fn crc16_err(&mut self) -> CRC16_ERR_W<'_, INT_ENA_SPEC>

Bit 6 - The interrupt enable bit for the USB_DEVICE_CRC16_ERR_INT interrupt.

source

pub fn stuff_err(&mut self) -> STUFF_ERR_W<'_, INT_ENA_SPEC>

Bit 7 - The interrupt enable bit for the USB_DEVICE_STUFF_ERR_INT interrupt.

source

pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W<'_, INT_ENA_SPEC>

Bit 8 - The interrupt enable bit for the USB_DEVICE_IN_TOKEN_REC_IN_EP1_INT interrupt.

source

pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W<'_, INT_ENA_SPEC>

Bit 9 - The interrupt enable bit for the USB_DEVICE_USB_BUS_RESET_INT interrupt.

source

pub fn out_ep1_zero_payload( &mut self ) -> OUT_EP1_ZERO_PAYLOAD_W<'_, INT_ENA_SPEC>

Bit 10 - The interrupt enable bit for the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt.

source

pub fn out_ep2_zero_payload( &mut self ) -> OUT_EP2_ZERO_PAYLOAD_W<'_, INT_ENA_SPEC>

Bit 11 - The interrupt enable bit for the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt.