1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
tmk_keyboard_custom/adb.h

20 lines
381 B
C
Raw Normal View History

2011-01-12 16:26:33 +00:00
#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);
2011-01-13 13:46:57 +00:00
void adb_host_kbd_led(uint8_t led);
2011-01-12 16:26:33 +00:00
#endif