1
0
该仓库已被归档。您可以查看文件和克隆它,但不能推送、创建工单或合并请求。
tmk_keyboard_custom/usb_debug.h
2010-09-30 14:50:23 +09:00

21 行
401 B
C

#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;
int8_t usb_debug_putchar(uint8_t c); // transmit a character
void usb_debug_flush_output(void); // immediately transmit any buffered output
#endif