2021-10-14 09:04:00 +01:00
|
|
|
#pragma once
|
|
|
|
|
2021-10-14 09:30:43 +01:00
|
|
|
void usb_cdc_init(void);
|
2021-10-17 15:06:53 +01:00
|
|
|
|
|
|
|
size_t usb_cdc_rx(uint8_t* buffer, size_t size);
|
|
|
|
size_t usb_cdc_rx_with_timeout(uint8_t* buffer, size_t size, uint32_t timeout);
|
2021-10-17 21:30:20 +01:00
|
|
|
void usb_cdc_tx_char(uint8_t c, bool flush);
|