keychron_qmk_firmware/keyboard/hhkb/rn42/rn42.h

24 lines
476 B
C
Raw Normal View History

2014-06-25 10:57:36 +06:00
#ifndef RN42_H
#define RN42_H
2014-07-01 01:29:45 +06:00
#include <stdbool.h>
2014-06-25 10:57:36 +06:00
host_driver_t rn42_driver;
2014-07-01 01:29:45 +06:00
host_driver_t rn42_config_driver;
void rn42_init(void);
2015-01-10 23:39:32 +06:00
int16_t rn42_getc(void);
const char *rn42_gets(uint16_t timeout);
2014-07-01 01:29:45 +06:00
void rn42_putc(uint8_t c);
2015-01-10 23:39:32 +06:00
void rn42_puts(char *s);
2014-07-17 10:06:48 +06:00
bool rn42_autoconnecting(void);
2014-07-01 01:29:45 +06:00
void rn42_autoconnect(void);
void rn42_disconnect(void);
2014-07-17 10:06:48 +06:00
bool rn42_rts(void);
void rn42_cts_hi(void);
void rn42_cts_lo(void);
bool rn42_linked(void);
2014-09-22 11:20:49 +06:00
void rn42_set_leds(uint8_t l);
2014-06-25 10:57:36 +06:00
#endif