Type Alias esp32c3::usb_device::ep1_conf::R

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

Register EP1_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn serial_in_ep_data_free(&self) -> SERIAL_IN_EP_DATA_FREE_R

Bit 1 - 1’b1: Indicate UART Tx FIFO is not full and can write data into in. After writing USB_DEVICE_WR_DONE, this bit would be 0 until data in UART Tx FIFO is read by USB Host.

source

pub fn serial_out_ep_data_avail(&self) -> SERIAL_OUT_EP_DATA_AVAIL_R

Bit 2 - 1’b1: Indicate there is data in UART Rx FIFO.