11.07.2015 Views

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• This API updates the configuration of a <strong>QTouch</strong> sensor with values different from theones initialized by the touch_qt_sensor_config API. If the sensor was not configuredalready, the API will return error.• The user must populate the structure pointed by p_touch_sensor_param with requiredsettings before calling this API.touch_qt_sensor_get_configtouch_ret_t touch_qt_sensor_get_config(touch_qt_grp_t touch_qt_grp,sensor_id_t sensor_id,touch_qt_param_t *p_touch_sensor_param)Arguments Type Commenttouch_qt_grp touch_qt_grp_t Specify if the operation is to beperformed on Group A Sensors orGroup B Sensors.sensor_id sensor_id_t Sensor ID for which the configurationneeds to be updated.p_touch_sensor_param touch_qt_param_t* Pointer to the user sensor configurationstructure.• This API copies the current configuration of a <strong>QTouch</strong> sensor into the user configurationstructure.touch_qt_update_global_paramtouch_ret_t touch_qt_update_global_param(touch_qt_grp_t touch_qt_grp,touch_global_param_t *p_global_param )Arguments Type Commenttouch_qt_grp touch_qt_grp_t Specify if the operation is to be performed on Group ASensors or Group B Sensors.p_global_param touch_global_param_t Pointer to user global parameters structure for<strong>QTouch</strong> Group A/B.• This API can be used to update the <strong>QTouch</strong> A or <strong>QTouch</strong> B global parameters, withvalues different from the ones initialized using touch_qt_sensors_init API.touch_qt_get_global_paramtouch_ret_t touch_qt_get_global_param(touch_qt_grp_t touch_qt_grp,touch_global_param_t *p_global_param )Arguments Type Commenttouch_qt_grp touch_qt_grp_t Specify if the operation is to be performed on Group ASensors or Group B Sensors.p_global_param touch_global_param_t Pointer to user global parameters structure for<strong>QTouch</strong> Group A/B.• This API can be called to retrieve the <strong>QTouch</strong> Group A or Group B global parameters.161

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!