Type Alias esp32c3::usb_device::ep1::R
source · pub type R = R<EP1_SPEC>;Expand description
Register EP1 reader
Aliased Type§
struct R { /* private fields */ }Implementations§
source§impl R
impl R
sourcepub fn rdwr_byte(&self) -> RDWR_BYTE_R
pub fn rdwr_byte(&self) -> RDWR_BYTE_R
Bits 0:7 - Write and read byte data to/from UART Tx/Rx FIFO through this field. When USB_DEVICE_SERIAL_IN_EMPTY_INT is set, then user can write data (up to 64 bytes) into UART Tx FIFO. When USB_DEVICE_SERIAL_OUT_RECV_PKT_INT is set, user can check USB_DEVICE_OUT_EP1_WR_ADDR USB_DEVICE_OUT_EP0_RD_ADDR to know how many data is received, then read data from UART Rx FIFO.