iotexpresslink 2.1.0.0
|
This file contains API for IoT ExpressLink 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 | iotexpresslink_t |
IoT ExpressLink Click context object. More... | |
struct | iotexpresslink_cfg_t |
IoT ExpressLink Click configuration object. More... | |
Enumerations | |
enum | iotexpresslink_return_value_t { IOTEXPRESSLINK_OK = 0 , IOTEXPRESSLINK_ERROR = -1 , IOTEXPRESSLINK_ERROR_TIMEOUT = -2 , IOTEXPRESSLINK_ERROR_CMD = -3 , IOTEXPRESSLINK_ERROR_UNKNOWN = -4 } |
IoT ExpressLink Click return value data. More... | |
Functions | |
void | iotexpresslink_cfg_setup (iotexpresslink_cfg_t *cfg) |
IoT ExpressLink configuration object setup function. | |
err_t | iotexpresslink_init (iotexpresslink_t *ctx, iotexpresslink_cfg_t *cfg) |
IoT ExpressLink initialization function. | |
err_t | iotexpresslink_generic_write (iotexpresslink_t *ctx, uint8_t *data_in, uint16_t len) |
IoT ExpressLink data writing function. | |
err_t | iotexpresslink_generic_read (iotexpresslink_t *ctx, uint8_t *data_out, uint16_t len) |
IoT ExpressLink data reading function. | |
void | iotexpresslink_send_cmd (iotexpresslink_t *ctx, uint8_t *cmd) |
IoT ExpressLink send cmd function. | |
void | iotexpresslink_enable_device (iotexpresslink_t *ctx) |
IoT ExpressLink enable device function. | |
void | iotexpresslink_disable_device (iotexpresslink_t *ctx) |
IoT ExpressLink disable device function. | |
void | iotexpresslink_reset_device (iotexpresslink_t *ctx) |
IoT ExpressLink reset device function. | |
uint8_t | iotexpresslink_get_event_pin (iotexpresslink_t *ctx) |
IoT ExpressLink get event pin function. | |
uint8_t | iotexpresslink_get_wake_pin (iotexpresslink_t *ctx) |
IoT ExpressLink get wake pin function. | |
This file contains API for IoT ExpressLink Click Driver.