]> git.gir.st - tmk_keyboard.git/blob - usb_debug.h
add mouse function.
[tmk_keyboard.git] / 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 int8_t usb_debug_putchar(uint8_t c); // transmit a character
18 void usb_debug_flush_output(void); // immediately transmit any buffered output
19
20 #endif
Imprint / Impressum