Fix rn42.h API

This commit is contained in:
tmk 2014-07-17 13:06:48 +09:00
parent 862f519e24
commit fa545c87f7
3 changed files with 60 additions and 59 deletions

View file

@ -3,18 +3,16 @@
#include <stdbool.h>
// RN-42 CTS pin
#define CTS_INIT() (DDRD |= (1<<5))
#define CTS_HI() (PORTD |= (1<<5))
#define CTS_LO() (PORTD &= ~(1<<5))
host_driver_t rn42_driver;
host_driver_t rn42_config_driver;
void rn42_init(void);
void rn42_putc(uint8_t c);
bool rn42_autoconnecting(void);
void rn42_autoconnect(void);
void rn42_disconnect(void);
bool rn42_ready(void);
bool rn42_rts(void);
void rn42_cts_hi(void);
void rn42_cts_lo(void);
#endif