]> git.gir.st - tmk_keyboard.git/blob - pjrc/usb_debug.h
added protocol stack: pjrc, vusb
[tmk_keyboard.git] / pjrc / usb_debug.h
1 #ifndef USB_DEBUG_H
2 #define USB_DEBUG_H 1
3
4 #include <stdint.h>
5 #include "usb.h"
6
7
8 #define DEBUG_INTERFACE 2
9 #define DEBUG_TX_ENDPOINT 3
10 #define DEBUG_TX_SIZE 32
11 #define DEBUG_TX_BUFFER EP_DOUBLE_BUFFER
12
13
14 extern volatile uint8_t debug_flush_timer;
15
16
17 void usb_debug_flush_output(void); // immediately transmit any buffered output
18
19 #endif
Imprint / Impressum