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)
Arguments |
Type |
Comment |
---|---|---|
touch_qt_grp |
touch_qt_grp_t |
Specify if the operation is to be performed on Group A Sensors or Group B Sensors. |
sensor_id |
sensor_id_t |
Sensor ID for which the configuration needs to be updated. |
p_touch_sensor_param |
touch_qt_param_t * |
Pointer to the user sensor configuration structure. |
This API updates the configuration of a QTouch sensor with values different from the ones initialized by the touch_qt_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.