captouch4
2.1.0.0
|
This file contains API for Cap Touch 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 | captouch4_t |
Cap Touch 4 Click context object. More... | |
struct | captouch4_cfg_t |
Cap Touch 4 Click configuration object. More... | |
Enumerations | |
enum | captouch4_return_value_t { CAPTOUCH4_OK = 0, CAPTOUCH4_ERROR = -1 } |
Cap Touch 4 Click return value data. More... | |
Functions | |
void | captouch4_cfg_setup (captouch4_cfg_t *cfg) |
Cap Touch 4 configuration object setup function. More... | |
err_t | captouch4_init (captouch4_t *ctx, captouch4_cfg_t *cfg) |
Cap Touch 4 initialization function. More... | |
err_t | captouch4_default_cfg (captouch4_t *ctx) |
Cap Touch 4 default configuration function. More... | |
err_t | captouch4_write_reg (captouch4_t *ctx, uint8_t reg, uint8_t data_in) |
Cap Touch 4 write reg function. More... | |
err_t | captouch4_read_reg (captouch4_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Cap Touch 4 read reg function. More... | |
err_t | captouch4_check_communication (captouch4_t *ctx) |
Cap Touch 4 check communication function. More... | |
void | captouch4_enable_device (captouch4_t *ctx) |
Cap Touch 4 enable device function. More... | |
void | captouch4_disable_device (captouch4_t *ctx) |
Cap Touch 4 disable device function. More... | |
err_t | captouch4_read_system_flags (captouch4_t *ctx, uint8_t *sysflags) |
Cap Touch 4 read system flags function. More... | |
err_t | captouch4_read_movement (captouch4_t *ctx, uint8_t *movement) |
Cap Touch 4 read movement function. More... | |
err_t | captouch4_read_cap_counts (captouch4_t *ctx, uint16_t *cap_counts) |
Cap Touch 4 read cap counts function. More... | |
err_t | captouch4_read_lta (captouch4_t *ctx, uint16_t *lta) |
Cap Touch 4 read lta function. More... | |
This file contains API for Cap Touch 4 Click Driver.