touch_ret_t touch_qm_sensor_update_config(sensor_id_t sensor_id,
touch_qm_param_t *p_touch_sensor_param)
Arguments |
Type |
Comment |
---|---|---|
sensor_id |
sensor_id_t |
Sensor ID for which the configuration needs to be updated. |
p_touch_sensor_param |
touch_qm_param_t* |
Pointer to the user sensor configuration structure. |
This API updates the configuration of a QMatrix sensor with values different from the ones initialized by the touch_qm_sensor_config API. If the sensor was not configured already, the API will return error.
The user must populate the structure pointed by p_touch_sensor_param with required settings before calling this API.