wirelesssun 2.1.0.0
|
This file contains API for Wireless SUN Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | wirelesssun_t |
Wireless SUN Click context object. More... | |
struct | wirelesssun_cfg_t |
Wireless SUN Click configuration object. More... | |
Enumerations | |
enum | wirelesssun_return_value_t { WIRELESSSUN_OK = 0 , WIRELESSSUN_ERROR = -1 , WIRELESSSUN_ERROR_TIMEOUT = -2 } |
Wireless SUN Click return value data. More... | |
Functions | |
void | wirelesssun_cfg_setup (wirelesssun_cfg_t *cfg) |
Wireless SUN configuration object setup function. | |
err_t | wirelesssun_init (wirelesssun_t *ctx, wirelesssun_cfg_t *cfg) |
Wireless SUN initialization function. | |
err_t | wirelesssun_generic_write (wirelesssun_t *ctx, char *data_in, uint16_t len) |
Wireless SUN data writing function. | |
err_t | wirelesssun_generic_read (wirelesssun_t *ctx, char *data_out, uint16_t len) |
Wireless SUN data reading function. | |
void | wirelesssun_send_cmd (wirelesssun_t *ctx, char *cmd) |
Wireless SUN send cmd function. | |
void | wirelesssun_send_cmd_with_parameter (wirelesssun_t *ctx, char *cmd, char *param_buf) |
Wireless SUN send cmd function. | |
void | wirelesssun_reset_device (wirelesssun_t *ctx) |
Wireless SUN reset device function. | |
void | wirelesssun_set_rst_pin (wirelesssun_t *ctx, uint8_t state) |
Wireless SUN set rst pin function. | |
void | wirelesssun_set_cts_pin (wirelesssun_t *ctx, uint8_t state) |
Wireless SUN set cts pin function. | |
uint8_t | wirelesssun_get_rts_pin (wirelesssun_t *ctx) |
Wireless SUN get rts pin function. | |
This file contains API for Wireless SUN Click Driver.