]> git.gir.st - tmk_keyboard.git/blob - adb.h
Synchronous USART support for PS/2 on V-USB stack
[tmk_keyboard.git] / adb.h
1 #ifndef ADB_H
2 #define ADB_H
3
4 #include <stdbool.h>
5
6 #if !(defined(ADB_PORT) && \
7 defined(ADB_PIN) && \
8 defined(ADB_DDR) && \
9 defined(ADB_DATA_BIT))
10 # error "ADB port setting is required in config.h"
11 #endif
12
13 // ADB host
14 void adb_host_init(void);
15 bool adb_host_psw(void);
16 uint16_t adb_host_kbd_recv(void);
17 void adb_host_kbd_led(uint8_t led);
18
19 #endif
Imprint / Impressum