1.5.3 Status and Output Data

Table 1-7. Group Data
ParameterSizeRange/OptionsUsage
qtm_keys_status1 byteBit 7: Reburst required

Bit 6-1: Reserved

Bit 0: Touch Detection

Indicates the current state of the Touch Key Group
acq_group_timestamp2 bytes0-to-65535Timestamp of last drift period processed
dht_count_in1 byte0-to-‘sensor_drift_hold_timeCountdown to drift hold release after a touch event
tch_drift_count_in1 byte0-to-‘sensor_touch_drift_rateCountdown to next towards a touch drift period
antitch_drift_count_in1 byte0-to-‘sensor_anti_touch_drift_rateCountdown to the next away from a touch drift period

Individual Key Sensor Data

The individual key sensor data is required by other post processing modules like Scroller. So, this data structure definition is placed on the common_compoenents_api.h file.

ParameterSizeRange/OptionsUsage
sensor_state1 byteBit fieldTouch key sensor state
sensor_state_counter1 byte0-to-255The number of repeat measurements to confirm a touch detection and an out-of-touch detection
*node_data_struct_ptr2/4 bytesPointerPointer to node data structure array
Channel_reference2 bytes0-to-65535Reference measurement, baseline for touch detection
sensor_stateValue
QTM_KEY_STATE_DISABLE0x00
QTM_KEY_STATE_INIT0x01
QTM_KEY_STATE_CAL0x02
QTM_KEY_STATE_NO_DET0x03
QTM_KEY_STATE_FILT_IN0x04
QTM_KEY_STATE_DETECT0x85
QTM_KEY_STATE_FILT_OUT0x86
QTM_KEY_STATE_ANTI_TCH0x07
QTM_KEY_STATE_SUSPEND0x08
QTM_KEY_STATE_CAL_ERR0x09
Note: Bit 7 (0x80u) is set in each state where the touch key sensor is ‘In Detect’.