Function esp_idf_svc::sys::usb_serial_jtag_read_bytes
source ยท pub unsafe extern "C" fn usb_serial_jtag_read_bytes(
buf: *mut c_void,
length: u32,
ticks_to_wait: u32,
) -> i32
Expand description
@brief USB_SERIAL_JTAG read bytes from USB_SERIAL_JTAG buffer
@param buf pointer to the buffer. @param length data length @param ticks_to_wait Timeout in RTOS ticks
@return - The number of bytes read from USB_SERIAL FIFO