touchpad5 2.0.0.0
|
This file contains API for Touchpad 5 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 | touchpad5_t |
Touchpad 5 Click context object. More... | |
struct | touchpad5_cfg_t |
Touchpad 5 Click configuration object. More... | |
struct | touchpad5_ver_info_t |
TouchPad 5 device version information object. More... | |
struct | touchpad5_touch_t |
TouchPad 5 XY data object. More... | |
struct | touchpad5_channel_setup_t |
TouchPad 5 Channel Setup object. More... | |
struct | touchpad5_threshold_settings_t |
TouchPad 5 Threshold Settings object. More... | |
struct | touchpad5_control_settings_t |
TouchPad 5 Control Settings object. More... | |
Enumerations | |
enum | touchpad5_return_value_t { TOUCHPAD5_OK = 0 , TOUCHPAD5_ERROR = -1 } |
Touchpad 5 Click return value data. More... | |
Functions | |
void | touchpad5_cfg_setup (touchpad5_cfg_t *cfg) |
Touchpad 5 configuration object setup function. | |
void | touchpad5_reset (touchpad5_t *ctx) |
Touchpad 5 reset function. | |
err_t | touchpad5_init (touchpad5_t *ctx, touchpad5_cfg_t *cfg) |
Touchpad 5 initialization function. | |
err_t | touchpad5_default_cfg (touchpad5_t *ctx) |
Touchpad 5 default configuration function. | |
err_t | touchpad5_generic_write (touchpad5_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Touchpad 5 I2C writing function. | |
err_t | touchpad5_generic_read (touchpad5_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Touchpad 5 I2C reading function. | |
err_t | touchpad5_check_version (touchpad5_t *ctx, touchpad5_ver_info_t *ver_info) |
TouchPad 5 Check Version function. | |
err_t | touchpad5_check_bl_status (touchpad5_t *ctx, uint8_t *rx_buf) |
TouchPad 5 Check Bootloader Status. | |
uint8_t | touchpad5_check_interrupt (touchpad5_t *ctx) |
TouchPad 5 check interrupt function. | |
void | touchpad5_wait_ready (touchpad5_t *ctx) |
TouchPad 5 wait ready function. | |
err_t | touchpad5_channel_setup (touchpad5_t *ctx, touchpad5_channel_setup_t ch_setup) |
TouchPad 5 channel setup function. | |
err_t | touchpad5_threshold_setup (touchpad5_t *ctx, touchpad5_threshold_settings_t thresh_setup) |
TouchPad 5 threshold setup function. | |
err_t | touchpad5_control_setup (touchpad5_t *ctx, touchpad5_control_settings_t ctrl_setup) |
TouchPad 5 control setup function. | |
err_t | touchpad5_get_touch (touchpad5_t *ctx, touchpad5_touch_t *touch_data) |
TouchPad 5 get touch function. | |
err_t | touchpad5_get_all_data (touchpad5_t *ctx, uint8_t *rx_data) |
TouchPad 5 get all data function. | |
err_t | touchpad5_get_status (touchpad5_t *ctx, uint8_t sel_status, uint16_t *rx_data, uint8_t num_of_samples) |
TouchPad 5 get status function. | |
This file contains API for Touchpad 5 Click Driver.