您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
12345678910111213141516171819 |
- #ifndef ADB_H
- #define ADB_H
-
- #include <stdbool.h>
-
- #if !(defined(ADB_PORT) && \
- defined(ADB_PIN) && \
- defined(ADB_DDR) && \
- defined(ADB_DATA_BIT))
- # error "ADB port setting is required in config.h"
- #endif
-
- // ADB host
- void adb_host_init(void);
- bool adb_host_psw(void);
- uint16_t adb_host_kbd_recv(void);
- void adb_host_kbd_led(uint8_t led);
-
- #endif
|