summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/rn42/rn42.h
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2015-01-16 11:51:34 +0900
committertmk <hasu@tmk-kbd.com>2015-01-16 11:51:34 +0900
commitc610bae63197482bf323fbd63475dd4dba71ed46 (patch)
tree3624044b5dede28f377e262f66d4f90963e0870d /keyboard/hhkb/rn42/rn42.h
parent3e88e8b761f8f8d8c5155fed3f064cc1bf207dab (diff)
parent099701dd3130d433244b3a4102f36f547aec25ae (diff)
Merge branch 'rn42_integrate'
Diffstat (limited to 'keyboard/hhkb/rn42/rn42.h')
-rw-r--r--keyboard/hhkb/rn42/rn42.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboard/hhkb/rn42/rn42.h b/keyboard/hhkb/rn42/rn42.h
new file mode 100644
index 0000000000..db6916fe86
--- /dev/null
+++ b/keyboard/hhkb/rn42/rn42.h
@@ -0,0 +1,23 @@
+#ifndef RN42_H
+#define RN42_H
+
+#include <stdbool.h>
+
+host_driver_t rn42_driver;
+host_driver_t rn42_config_driver;
+
+void rn42_init(void);
+int16_t rn42_getc(void);
+const char *rn42_gets(uint16_t timeout);
+void rn42_putc(uint8_t c);
+void rn42_puts(char *s);
+bool rn42_autoconnecting(void);
+void rn42_autoconnect(void);
+void rn42_disconnect(void);
+bool rn42_rts(void);
+void rn42_cts_hi(void);
+void rn42_cts_lo(void);
+bool rn42_linked(void);
+void rn42_set_leds(uint8_t l);
+
+#endif