This file contains the AT32UC3L QTouch Library API interface for QMatrix, QTouch and Autonomous Touch method using the Capacitive Touch (CAT) module.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
|
enum | tag_aks_group_t {
NO_AKS_GROUP,
AKS_GROUP_1,
AKS_GROUP_2,
AKS_GROUP_3,
AKS_GROUP_4,
AKS_GROUP_5,
AKS_GROUP_6,
AKS_GROUP_7,
MAX_AKS_GROUP
} |
|
enum | tag_at_status_change_t {
OUT_OF_TOUCH,
IN_TOUCH
} |
|
enum | tag_general_pin_options_t {
USE_NO_PIN = 0u,
USE_PIN_PA12_AS_SMP,
USE_PIN_PA13_AS_SMP,
USE_PIN_PA14_AS_SMP,
USE_PIN_PA17_AS_SMP,
USE_PIN_PA21_AS_SMP,
USE_PIN_PA22_AS_SMP,
USE_PIN_PA17_AS_DIS,
USE_PIN_PB11_AS_VDIV,
USE_PIN_PA15_AS_SYNC,
USE_PIN_PA18_AS_SYNC,
USE_PIN_PA19_AS_SYNC,
USE_PIN_PB08_AS_SYNC,
USE_PIN_PB12_AS_SYNC
} |
|
enum | tag_hysteresis_t {
HYST_50,
HYST_25,
HYST_12_5,
HYST_6_25,
MAX_HYST
} |
|
enum | tag_qt_pin_options_t {
SP0,
SP1,
SP2,
SP3,
SP4,
SP5,
SP6,
SP7,
SP8,
SP9,
SP10,
SP11,
SP12,
SP13,
SP14,
SP15,
SP16
} |
|
enum | tag_recal_threshold_t {
RECAL_100,
RECAL_50,
RECAL_25,
RECAL_12_5,
RECAL_6_25,
MAX_RECAL
} |
|
enum | tag_resolution_t {
RES_1_BIT,
RES_2_BIT,
RES_3_BIT,
RES_4_BIT,
RES_5_BIT,
RES_6_BIT,
RES_7_BIT,
RES_8_BIT,
MAX_RES
} |
|
enum | tag_sensor_type_t {
SENSOR_TYPE_UNASSIGNED,
SENSOR_TYPE_KEY,
SENSOR_TYPE_ROTOR,
SENSOR_TYPE_SLIDER,
MAX_SENSOR_TYPE
} |
|
enum | tag_touch_acq_mode_t {
RAW_ACQ_MODE,
NORMAL_ACQ_MODE
} |
|
enum | tag_touch_lib_state_t {
TOUCH_STATE_NULL,
TOUCH_STATE_INIT,
TOUCH_STATE_READY,
TOUCH_STATE_CALIBRATE,
TOUCH_STATE_BUSY
} |
|
enum | tag_touch_ret_t {
TOUCH_SUCCESS,
TOUCH_ACQ_INCOMPLETE,
TOUCH_INVALID_INPUT_PARAM,
TOUCH_INVALID_LIB_STATE,
TOUCH_INVALID_QM_CONFIG_PARAM,
TOUCH_INVALID_AT_CONFIG_PARAM,
TOUCH_INVALID_QT_CONFIG_PARAM,
TOUCH_INVALID_GENERAL_CONFIG_PARAM,
TOUCH_INVALID_QM_NUM_X_LINES,
TOUCH_INVALID_QM_NUM_Y_LINES,
TOUCH_INVALID_QM_NUM_SENSORS,
TOUCH_INVALID_MAXDEV_VALUE,
TOUCH_INVALID_RECAL_THRESHOLD,
TOUCH_INVALID_CHANNEL_NUM,
TOUCH_INVALID_SENSOR_TYPE,
TOUCH_INVALID_SENSOR_ID,
TOUCH_INVALID_DMA_PARAM,
TOUCH_FAILURE_ANALOG_COMP,
TOUCH_INVALID_RS_NUM
} |
|
enum | tag_x_pin_options_t {
X0,
X1,
X2,
X3,
X4,
X5,
X6,
X7,
X8,
X9,
X10,
X11,
X12,
X13,
X14,
X15,
X16,
X17
} |
|
enum | tag_y_pin_options_t {
Y0_YK0,
Y1_YK1,
Y2_YK2,
Y3_YK3,
Y4_YK4,
Y5_YK5,
Y6_YK6,
Y7_YK7
} |
|
|
touch_ret_t | touch_at_get_libinfo (touch_info_t *p_touch_info) |
|
touch_ret_t | touch_at_sensor_disable (void) |
|
touch_ret_t | touch_at_sensor_enable (void(*touch_at_status_change_interrupt_callback)(touch_at_status *p_at_status)) |
|
touch_ret_t | touch_at_sensor_get_config (touch_at_param_t *p_at_param) |
|
touch_ret_t | touch_at_sensor_init (touch_config_t *p_touch_config) |
|
touch_ret_t | touch_at_sensor_update_config (touch_at_param_t *p_at_param) |
|
void | touch_deinit (void) |
|
void | touch_event_dispatcher (void) |
|
touch_ret_t | touch_qm_channel_update_burstlen (channel_t channel_id, touch_bl_t qm_burst_length) |
|
touch_ret_t | touch_qm_get_global_param (touch_global_param_t *p_global_param) |
|
touch_ret_t | touch_qm_get_libinfo (touch_info_t *p_touch_info) |
|
void | touch_qm_rs_table_init (void) |
|
touch_ret_t | touch_qm_sensor_config (sensor_type_t sensor_type, channel_t from_channel, channel_t to_channel, aks_group_t aks_group, threshold_t detect_threshold, hysteresis_t detect_hysteresis, resolution_t position_resolution, uint8_t position_hysteresis, sensor_id_t *p_sensor_id) |
|
touch_ret_t | touch_qm_sensor_get_config (sensor_id_t sensor_id, touch_qm_param_t *p_touch_sensor_param) |
|
touch_ret_t | touch_qm_sensor_get_delta (sensor_id_t sensor_id, touch_delta_t *p_delta) |
|
touch_ret_t | touch_qm_sensor_update_config (sensor_id_t sensor_id, touch_qm_param_t *p_touch_sensor_param) |
|
touch_ret_t | touch_qm_sensors_calibrate (void) |
|
touch_ret_t | touch_qm_sensors_init_with_rs_table (touch_config_t *p_touch_config, void(*rs_table_init)(void)) |
|
touch_ret_t | touch_qm_sensors_start_acquisition (touch_time_t current_time_ms, touch_qm_dma_t *p_qm_dma, touch_acq_mode_t qm_acq_mode, void(*measure_complete_callback)(touch_measure_data_t *p_measure_data)) |
|
touch_ret_t | touch_qm_update_global_param (touch_global_param_t *p_global_param) |
|
touch_ret_t | touch_qt_get_global_param (touch_qt_grp_t touch_qt_grp, touch_global_param_t *p_global_param) |
|
touch_ret_t | touch_qt_get_libinfo (touch_qt_grp_t touch_qt_grp, touch_info_t *p_touch_info) |
|
void | touch_qt_rs_table_init (void) |
|
touch_ret_t | touch_qt_sensor_config (touch_qt_grp_t touch_qt_grp, sensor_type_t sensor_type, channel_t from_channel, channel_t to_channel, aks_group_t aks_group, threshold_t detect_threshold, hysteresis_t detect_hysteresis, resolution_t position_resolution, sensor_id_t *p_sensor_id) |
|
touch_ret_t | touch_qt_sensor_disable (touch_qt_grp_t touch_qt_grp, sensor_id_t sensor_id) |
|
touch_ret_t | touch_qt_sensor_get_config (touch_qt_grp_t touch_qt_grp, sensor_id_t sensor_id, touch_qt_param_t *p_touch_sensor_param) |
|
touch_ret_t | touch_qt_sensor_get_delta (touch_qt_grp_t touch_qt_grp, sensor_id_t sensor_id, touch_delta_t *p_delta) |
|
touch_ret_t | touch_qt_sensor_reenable (touch_qt_grp_t touch_qt_grp, sensor_id_t sensor_id) |
|
touch_ret_t | touch_qt_sensor_update_config (touch_qt_grp_t touch_qt_grp, sensor_id_t sensor_id, touch_qt_param_t *p_touch_sensor_param) |
|
touch_ret_t | touch_qt_sensors_calibrate (touch_qt_grp_t touch_qt_grp) |
|
touch_ret_t | touch_qt_sensors_init_with_rs_table (touch_qt_grp_t touch_qt_grp, touch_config_t *p_touch_config, void(*rs_table_init)(void), void(*touch_qt_table_init)(void)) |
|
touch_ret_t | touch_qt_sensors_start_acquisition (touch_qt_grp_t touch_qt_grp, touch_time_t current_time_ms, touch_qt_dma_t qt_dma_ch, touch_acq_mode_t qt_acq_mode, void(*measure_complete_callback)(touch_measure_data_t *p_measure_data)) |
|
touch_ret_t | touch_qt_update_global_param (touch_qt_grp_t touch_qt_grp, touch_global_param_t *p_global_param) |
|
void | touch_qta_table_init (void) |
|
void | touch_qtb_table_init (void) |
|