touchkey3 2.0.0.0
|
This file contains API for TouchKey 3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | touchkey3_t |
Click ctx object definition. More... | |
struct | touchkey3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | touchkey3_cfg_setup (touchkey3_cfg_t *cfg) |
Config Object Initialization function. | |
TOUCHKEY3_RETVAL | touchkey3_init (touchkey3_t *ctx, touchkey3_cfg_t *cfg) |
Initialization function. | |
void | touchkey3_reset (touchkey3_t *ctx) |
Reset function. | |
void | touchkey3_generic_transfer (touchkey3_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
void | touchkey3_send_command (touchkey3_t *ctx, uint8_t command) |
Send command. | |
void | touchkey3_send_setup (touchkey3_t *ctx, uint8_t *p_setup_data) |
Send setup data. | |
void | touchkey3_send_request (touchkey3_t *ctx, uint8_t request, uint8_t *p_response) |
Send request. | |
void | touchkey3_set_data (touchkey3_t *ctx, uint8_t data_address, uint8_t write_data) |
Set configuration data. | |
void | touchkey3_get_data (touchkey3_t *ctx, uint8_t data_address, uint8_t *read_data) |
Read configuration data. | |
This file contains API for TouchKey 3 Click driver.