diff options
author | tmk <nobody@nowhere> | 2011-02-09 00:03:58 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-02-22 03:08:59 +0900 |
commit | acc974c64b1e17e6807133fdc50de5bb34aedda5 (patch) | |
tree | 7af7511a56d680a4d93b535c52891a8ffc15dd04 /pjrc/usb_debug.h | |
parent | 5552b5afeaa9ce7432f9ded3586984253f292d80 (diff) |
added protocol stack: pjrc, vusb
Diffstat (limited to 'pjrc/usb_debug.h')
-rw-r--r-- | pjrc/usb_debug.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pjrc/usb_debug.h b/pjrc/usb_debug.h new file mode 100644 index 0000000000..a751612c0b --- /dev/null +++ b/pjrc/usb_debug.h @@ -0,0 +1,19 @@ +#ifndef USB_DEBUG_H +#define USB_DEBUG_H 1 + +#include <stdint.h> +#include "usb.h" + + +#define DEBUG_INTERFACE 2 +#define DEBUG_TX_ENDPOINT 3 +#define DEBUG_TX_SIZE 32 +#define DEBUG_TX_BUFFER EP_DOUBLE_BUFFER + + +extern volatile uint8_t debug_flush_timer; + + +void usb_debug_flush_output(void); // immediately transmit any buffered output + +#endif |