您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

1234567891011121314151617181920212223
  1. #ifndef RN42_H
  2. #define RN42_H
  3. #include <stdbool.h>
  4. host_driver_t rn42_driver;
  5. host_driver_t rn42_config_driver;
  6. void rn42_init(void);
  7. int16_t rn42_getc(void);
  8. const char *rn42_gets(uint16_t timeout);
  9. void rn42_putc(uint8_t c);
  10. void rn42_puts(char *s);
  11. bool rn42_autoconnecting(void);
  12. void rn42_autoconnect(void);
  13. void rn42_disconnect(void);
  14. bool rn42_rts(void);
  15. void rn42_cts_hi(void);
  16. void rn42_cts_lo(void);
  17. bool rn42_linked(void);
  18. void rn42_set_leds(uint8_t l);
  19. #endif