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.
19 lines
341 B
19 lines
341 B
14 years ago
|
#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);
|
||
|
|
||
|
#endif
|