Firmware SDK
|
USB CDC communication library. More...
Functions | |
void | twr_usb_cdc_init (void) |
Initialize USB CDC library. | |
bool | twr_usb_cdc_write (const void *buffer, size_t length) |
Write buffer to USB CDC (non-blocking call) More... | |
size_t | twr_usb_cdc_read (void *buffer, size_t length) |
Read buffer from USB CDC (non-blocking call) More... | |
USB CDC communication library.
size_t twr_usb_cdc_read | ( | void * | buffer, |
size_t | length | ||
) |
Read buffer from USB CDC (non-blocking call)
[out] | buffer | Pointer to buffer to be read |
[in] | length | Number of bytes to be read |
Definition at line 62 of file twr_usb_cdc.c.
bool twr_usb_cdc_write | ( | const void * | buffer, |
size_t | length | ||
) |
Write buffer to USB CDC (non-blocking call)
[in] | buffer | Pointer to buffer to be written |
[in] | length | Number of bytes to be written |
Definition at line 46 of file twr_usb_cdc.c.