proteuse 2.1.0.0
|
This file contains API for Proteus-e 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 | proteuse_packet_t |
Proteus-e Click command packet structure object. More... | |
struct | proteuse_t |
Proteus-e Click context object. More... | |
struct | proteuse_cfg_t |
Proteus-e Click configuration object. More... | |
Enumerations | |
enum | proteuse_return_value_t { PROTEUSE_OK = 0 , PROTEUSE_ERROR = -1 } |
Proteus-e Click return value data. More... | |
Functions | |
void | proteuse_cfg_setup (proteuse_cfg_t *cfg) |
Proteus-e configuration object setup function. | |
err_t | proteuse_init (proteuse_t *ctx, proteuse_cfg_t *cfg) |
Proteus-e initialization function. | |
err_t | proteuse_default_cfg (proteuse_t *ctx) |
Proteus-e default configuration function. | |
err_t | proteuse_generic_write (proteuse_t *ctx, uint8_t *data_in, uint16_t len) |
Proteus-e data writing function. | |
err_t | proteuse_generic_read (proteuse_t *ctx, uint8_t *data_out, uint16_t len) |
Proteus-e data reading function. | |
void | proteuse_set_rst_pin (proteuse_t *ctx, uint8_t state) |
Proteus-e set RST pin function. | |
err_t | proteuse_reset_device (proteuse_t *ctx) |
Proteus-e reset device function. | |
void | proteuse_set_en_pin (proteuse_t *ctx, uint8_t state) |
Proteus-e set EN pin function. | |
void | proteuse_enable_uart (proteuse_t *ctx) |
Proteus-e enable uart function. | |
void | proteuse_send_cmd (proteuse_t *ctx) |
Proteus-e send command function. | |
err_t | proteuse_read_event (proteuse_t *ctx) |
Proteus-e read event function. | |
err_t | proteuse_wait_for_event (proteuse_t *ctx, uint8_t cmd, uint8_t max_time_s) |
Proteus-e wait for event function. | |
void | proteuse_clear_buffers (proteuse_t *ctx) |
Proteus-e clear buffers function. | |
err_t | proteuse_set_user_setting (proteuse_t *ctx, uint8_t set_idx, uint8_t *data_in, uint8_t len) |
Proteus-e set user settings function. | |
err_t | proteuse_get_user_setting (proteuse_t *ctx, uint8_t set_idx) |
Proteus-e get user settings function. | |
This file contains API for Proteus-e Click Driver.