thyonei
2.1.0.0
|
This file contains API for Thyone-I 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 | thyonei_t |
Thyone-I Click context object. More... | |
struct | thyonei_cfg_t |
Thyone-I Click configuration object. More... | |
Enumerations | |
enum | thyonei_return_value_t { THYONEI_OK = 0, THYONEI_ERROR = -1 } |
Thyone-I Click return value data. More... | |
Functions | |
void | thyonei_cfg_setup (thyonei_cfg_t *cfg) |
Thyone-I configuration object setup function. More... | |
err_t | thyonei_init (thyonei_t *ctx, thyonei_cfg_t *cfg) |
Thyone-I initialization function. More... | |
void | thyonei_default_cfg (thyonei_t *ctx) |
Thyone-I default configuration function. More... | |
err_t | thyonei_generic_write (thyonei_t *ctx, uint8_t *data_in, uint16_t len) |
Thyone-I data writing function. More... | |
err_t | thyonei_generic_read (thyonei_t *ctx, uint8_t *data_out, uint16_t len) |
Thyone-I data reading function. More... | |
uint8_t | thyonei_get_cts_state (thyonei_t *ctx) |
Thyone-I get CTS pin function. More... | |
void | thyonei_set_bt (thyonei_t *ctx, uint8_t pin_state) |
Thyone-I set BT pin function. More... | |
void | thyonei_set_rst (thyonei_t *ctx, uint8_t pin_state) |
Thyone-I set RST pin function. More... | |
void | thyonei_set_rts (thyonei_t *ctx, uint8_t pin_state) |
Thyone-I set RTS pin function. More... | |
void | thyonei_set_wup (thyonei_t *ctx, uint8_t pin_state) |
Thyone-I set WUP pin function. More... | |
void | thyonei_hw_reset (thyonei_t *ctx) |
Thyone-I hardware reser function. More... | |
err_t | thyonei_send_command (thyonei_t *ctx, uint8_t command, uint16_t payload_length, uint8_t *payload) |
Thyone-I send command function. More... | |
err_t | thyonei_set_req (thyonei_t *ctx, uint8_t settings_index, uint8_t parameters_length, uint8_t *parameters) |
Thyone-I set individual parameters function. More... | |
err_t | thyonei_get_req (thyonei_t *ctx, uint8_t settings_index, uint8_t *param_len, uint8_t *parameter) |
Thyone-I get individual parameters function. More... | |
err_t | thyonei_broadcast_data_req (thyonei_t *ctx, uint8_t message_len, uint8_t *message) |
Thyone-I brodcast data function. More... | |
err_t | thyonei_multicast_data_req (thyonei_t *ctx, uint8_t message_len, uint8_t *message) |
Thyone-I multicast data function. More... | |
err_t | thyonei_unicast_data_req (thyonei_t *ctx, uint8_t message_len, uint8_t *message) |
Thyone-I unicast data function. More... | |
This file contains API for Thyone-I Click Driver.