Firmware SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
bc_usb_cdc.h
1 #ifndef _BC_USB_CDC_H
2 #define _BC_USB_CDC_H
3 
4 #include <bc_common.h>
5 
9 
11 
12 void bc_usb_cdc_init(void);
13 
19 
20 bool bc_usb_cdc_write(const void *buffer, size_t length);
21 
26 
27 size_t bc_usb_cdc_read(void *buffer, size_t length);
28 
30 
31 #endif // _BC_USB_CDC_H
bool bc_usb_cdc_write(const void *buffer, size_t length)
Write buffer to USB CDC (non-blocking call)
Definition: bc_usb_cdc.c:46
size_t bc_usb_cdc_read(void *buffer, size_t length)
Read buffer from USB CDC (non-blocking call)
Definition: bc_usb_cdc.c:62
void bc_usb_cdc_init(void)
Initialize USB CDC library.
Definition: bc_usb_cdc.c:29