Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

adb.h 381B

12345678910111213141516171819
  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. void adb_host_kbd_led(uint8_t led);
  15. #endif