Keyboard firmwares for Atmel AVR and Cortex-M
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718
  1. #ifndef ADB_H
  2. #define ADB_H
  3. #include <stdbool.h>
  4. #if !(defined(ADB_PORT) && \
  5. defined(ADB_PIN) && \
  6. defined(ADB_DDR) && \
  7. defined(ADB_DATA_BIT))
  8. # error "ADB port setting is required in config.h"
  9. #endif
  10. // ADB host
  11. void adb_host_init(void);
  12. bool adb_host_psw(void);
  13. uint16_t adb_host_kbd_recv(void);
  14. #endif