iotexpresslink2 2.1.0.0
|
This file contains API for IoT ExpressLink 2 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 | iotexpresslink2_t |
IoT ExpressLink 2 Click context object. More... | |
struct | iotexpresslink2_cfg_t |
IoT ExpressLink 2 Click configuration object. More... | |
Enumerations | |
enum | iotexpresslink2_return_value_t { IOTEXPRESSLINK2_OK = 0 , IOTEXPRESSLINK2_ERROR = -1 , IOTEXPRESSLINK2_ERROR_TIMEOUT = -2 , IOTEXPRESSLINK2_ERROR_CMD = -3 } |
IoT ExpressLink 2 Click return value data. More... | |
Functions | |
void | iotexpresslink2_cfg_setup (iotexpresslink2_cfg_t *cfg) |
IoT ExpressLink 2 configuration object setup function. | |
err_t | iotexpresslink2_init (iotexpresslink2_t *ctx, iotexpresslink2_cfg_t *cfg) |
IoT ExpressLink 2 initialization function. | |
err_t | iotexpresslink2_generic_write (iotexpresslink2_t *ctx, uint8_t *data_in, uint16_t len) |
IoT ExpressLink 2 data writing function. | |
err_t | iotexpresslink2_generic_read (iotexpresslink2_t *ctx, uint8_t *data_out, uint16_t len) |
IoT ExpressLink 2 data reading function. | |
void | iotexpresslink2_send_cmd (iotexpresslink2_t *ctx, uint8_t *cmd) |
IoT ExpressLink 2 send cmd function. | |
void | iotexpresslink2_set_pwr_pin (iotexpresslink2_t *ctx, uint8_t state) |
IoT ExpressLink 2 set pwr pin function. | |
void | iotexpresslink2_set_rst_pin (iotexpresslink2_t *ctx, uint8_t state) |
IoT ExpressLink 2 set rst pin function. | |
uint8_t | iotexpresslink2_get_wake_pin (iotexpresslink2_t *ctx) |
IoT ExpressLink 2 get wake pin function. | |
uint8_t | iotexpresslink2_get_event_pin (iotexpresslink2_t *ctx) |
IoT ExpressLink 2 get event pin function. | |
void | iotexpresslink2_power_on (iotexpresslink2_t *ctx) |
IoT ExpressLink 2 power on function. | |
void | iotexpresslink2_reset_device (iotexpresslink2_t *ctx) |
IoT ExpressLink 2 reset device function. | |
This file contains API for IoT ExpressLink 2 Click Driver.