Rename serial->cdc for no confusion between USART.
This commit is contained in:
9
example-usb-serial/cdc.h
Normal file
9
example-usb-serial/cdc.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#define BUFSIZE 64
|
||||
|
||||
struct cdc;
|
||||
|
||||
struct cdc *cdc_open (uint8_t num);
|
||||
void cdc_wait_configured (struct cdc *);
|
||||
void cdc_wait_connection (struct cdc *);
|
||||
int cdc_send (struct cdc *s, const char *buf, int count);
|
||||
int cdc_recv (struct cdc *s, char *buf, uint32_t *timeout);
|
||||
Reference in New Issue
Block a user