sw: outline of serial device

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2019-05-22 15:26:27 +08:00
parent e8aaac5cfe
commit ba8314c823
6 changed files with 41 additions and 0 deletions

6
sw/include/tester.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef TESTER_H__
#define TESTER_H__
void tester_poll(void);
#endif /* TESTER_H__ */

View File

@ -38,6 +38,8 @@ LGPL License Terms @ref lgpl_license
#ifndef __CDC_H
#define __CDC_H
#include <stdint.h>
/* Definitions of Communications Device Class from
* "Universal Serial Bus Class Definitions for Communications Devices
* Revision 1.2"
@ -156,6 +158,9 @@ struct usb_cdc_notification {
uint16_t wLength;
} __attribute__((packed));
int cdc_connected();
void cdc_set_connected(int is_connected);
#endif
/**@}*/