touch_at_param_t

structure

touch_at_param_t

Input / Output

Passed as input to touch_at_sensor_update_config API & got as output from touch_at_sensor_get_config API

Use

Data structure which holds the configuration parameters for the autonomous QTouch sensor

Structure field

Type

Corresponds to the device register

Register Field

filter

uint8_t

ATCFG2

FILTER

outsens

uint8_t

ATCFG2

OUTSENS

sense

uint8_t

ATCFG2

SENSE

pthr

uint8_t

ATCFG3

PTHR

pdrift

uint8_t

ATCFG3

PDRIFT

ndrift

uint8_t

ATCFG3

NDRIFT

Refer Global settings common to all sensors of a specific acquisition method for an overview of FILTER (Detect Integration), PTHR (Positive Recalibration threshold), PDRIFT (Positive Drift rate) and NDRIFT (Negative Drift rate).

OUTSENS - Autonomous Touch Out-of-Touch Sensitivity.

For the autonomous QTouch sensor, specifies how sensitive the out-of-touch detector should be.  When the sensor is not touched, the Autonomous Touch Current count register is same as the Autonomous Touch Base count register. When the sensor is touched the Autonomous Touch Current count register decreases.   When using the Autonomous QTouch in proximity mode, the Autonomous Touch Base  count register decreases as we move towards proximity of the sensor.   The OUTSENS value can be arrived at by watching the CAT Autonomous Touch Base Count Register(at memory location 0xFFFF686Cu) and Autonomous Touch Current Count Register(at memory location 0xFFFF6870u) during a sensor touch/proximity and not in touch/proximity.  A smaller difference between the Autonomous Touch Base count and Autonomous Touch Current count register can be chosen as the OUTSENS value.  Range: 0u to 255u.

SENSE - Autonomous Touch Sensitivity.

For the autonomous QTouch sensor, specifies how sensitive the touch detector should be. When the sensor is not touched, the Autonomous Touch Current count register is same as the Autonomous Touch Base count register. When the sensor is touched the Autonomous Touch Current count register decreases. When using the Autonomous QTouch in proximity mode, the Autonomous Touch Base count register decreases as we move towards proximity of the sensor. The SENSE value can be arrived at by watching the CAT Autonomous Touch Base Count Register(at memory location 0xFFFF686Cu) and Autonomous Touch Current Count Register(at memory location 0xFFFF6870u) during a sensor touch/proximity and not in touch/proximity. A larger difference between the Autonomous Touch Base count and Autonomous Touch Current count register can be chosen as the SENSE value. Range: 0u to 255u.