Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (17 sloc) 0.68 kB
//************************************************************************
// *** cdcacm.h
//************************************************************************
#include "wiring.h"
#define USB_SERIAL_MIN_BUFFER_FREE 128
extern boolean gCdcacm_active;
typedef void (*cdcacm_reset_cbfn)(void);
typedef boolean (*cdcacm_storedata_cbfn)(const byte *buffer, int length);
#ifdef __cplusplus
extern "C"{
#endif
void cdcacm_print(const unsigned char *line, int length);
void cdcacm_command_ack(void);
void cdcacm_register(cdcacm_reset_cbfn reset, cdcacm_storedata_cbfn storeData); // revisit -- register receive upcall!
#ifdef __cplusplus
} // extern "C"
#endif
Jump to Line
Something went wrong with that request. Please try again.