Function usb_cdc_read(uint8_t *, size_t)
Defined in File usb_cdc.c
Function Documentation
-
size_t usb_cdc_read(uint8_t *data, size_t len)
Read any pending bytes from the host.
- 매개변수:
data – [out] Pointer to the buffer to receive incoming data.
len – [in] Maximum number of bytes to read into the buffer.
- 반환:
Number of bytes actually read from the host.