您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
1234567891011121314151617181920 |
- #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
|