touchkey4 2.0.0.0
|
This file contains API for Touch Key 4 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | touchkey4_t |
Click ctx object definition. More... | |
struct | touchkey4_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | touchkey4_cfg_setup (touchkey4_cfg_t *cfg) |
Config Object Initialization function. More... | |
TOUCHKEY4_RETVAL | touchkey4_init (touchkey4_t *ctx, touchkey4_cfg_t *cfg) |
Initialization function. More... | |
void | touchkey4_default_cfg (touchkey4_t *ctx) |
Click Default Configuration function. More... | |
void | touchkey4_write_reg (touchkey4_t *ctx, const uint8_t register_address, const uint8_t transfer_data) |
Generic Write function. More... | |
void | touchkey4_read_reg (touchkey4_t *ctx, const uint8_t register_address, uint8_t *data_out, const uint8_t n_bytes) |
Generic Read function. More... | |
uint8_t | touchkey4_receive_byte (touchkey4_t *ctx, const uint8_t register_address) |
Read byte function. More... | |
void | touchkey4_detect_touch (touchkey4_t *ctx, uint8_t *input_sens) |
Touch Detect function. More... | |
void | touchkey4_set_active_mode (touchkey4_t *ctx, const uint8_t analog_gain, const uint8_t en_input1, const uint8_t en_input2, const uint8_t en_input3) |
Active Mode Set function. More... | |
void | touchkey4_set_standby_mode (touchkey4_t *ctx, const uint8_t analog_gain, const uint8_t en_input1, const uint8_t en_input2, const uint8_t en_input3) |
Standby Mode Set function. More... | |
void | touchkey4_set_combo_mode (touchkey4_t *ctx, const uint8_t analog_gain, const uint8_t en_input1, const uint8_t en_input2, const uint8_t en_input3) |
Combo Mode Set function. More... | |
void | touchkey4_set_deep_sleep_mode (touchkey4_t *ctx) |
DeepSleep Mode Set function. More... | |
uint8_t | touchkey4_check_interrupt (touchkey4_t *ctx) |
Interrupt Check function. More... | |
This file contains API for Touch Key 4 Click driver.