1.5.1 Keys Typedef

Table 1-7. 
NameType
threshold_tuint8_t
sensor_id_tuint16_t
touch_current_time_tuint16_t
touch_delta_tint16_t
touch_acq_status_tuint16_t
QTM_hysteresis_t

enum {

HYST_50,

HYST_25,

HYST_12_5,

HYST_6_25,

MAX_HYST

}

QTM_aks_group_t

enum {

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

}

recal_threshold_t

enum {

RECAL_100,

RECAL_50,

RECAL_25,

RECAL_12_5,

RECAL_6_25,

MAX_RECAL

}

reburst_mode_t

enum {

REBURST_NONE,

REBURST_UNRESOLVED,

REBURST_ALL

}

qtm_touch_key_group_config_t

struct {

uint16_t num_key_sensors;

uint8_t sensor_touch_di;

uint8_t sensor_max_on_time;

uint8_t sensor_anti_touch_di;

uint8_t sensor_anti_touch_recal_thr;

uint8_t sensor_touch_drift_rate;

uint8_t sensor_anti_touch_drift_rate;

uint8_t sensor_drift_hold_time;

uint8_t sensor_reburst_mode;

}

qtm_touch_key_group_data_t

struct {

uint8_t qtm_keys_status;

uint16_t acq_group_timestamp;

uint8_t dht_count_in ;

uint8_t tch_drift_count_in;

uint8_t antitch_drift_count_in;

}

qtm_touch_key_config_t

struct {

uint8_t channel_threshold;

uint8_t channel_hysteresis;

uint8_t channel_aks_group;

}

qtm_touch_key_control_t

struct {

qtm_touch_key_group_data_t (*qtm_touch_key_group_data);

qtm_touch_key_group_config_t (*qtm_touch_key_group_config);

qtm_touch_key_data_t (*qtm_touch_key_data);

qtm_touch_key_config_t (*qtm_touch_key_config);

}