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 autonomous <strong>QTouch</strong> sensor with a setting that isdifferent from the one configured by calling touch_at_sensor_init API.• The user must populate the structure pointed by p_at_param with required settingsbefore calling this API.touch_at_sensor_get_configtouch_ret_t touch_at_sensor_get_config( touch_at_param_t *p_at_param )Arguments Type Commentp_at_param touch_at_param_t* Pointer to autonomous <strong>QTouch</strong> sensor configurationstructure.• This API retrieves the current configuration of the autonomous <strong>QTouch</strong> sensor.touch_at_get_libinfotouch_ret_t touch_at_get_libinfo( touch_info_t *p_touch_info)Arguments Type Commentp_touch_info touch_info_t* <strong>User</strong> passes the memory address at which the library informationis to be updated.• The touch_info_t structure is filled by the library with information on the number ofautonomous <strong>QTouch</strong> channels (Fixed value of 1), number of autonomous <strong>QTouch</strong>sensors (Fixed value of 1), number of autonomous <strong>QTouch</strong> rotors/slider (Fixed value of0), CAT hardware version and library version.Common APIThis section lists the functions that are common to QMatrix, <strong>QTouch</strong> Group A/B and Autonomous<strong>QTouch</strong> acquisition methods.touch_event_dispatchervoid touch_event_dispatcher ( void )Arguments Type CommentVoid -• This API needs to be called by the user application to allow the library to process the rawacquisition data from the sensors.• Once touch_qm_sensors_start_acquisition is called, touch_event_dispatcher API needsto be called as frequently as possible by the Host application.• The signals_callback and measure_complete_callback functions are called from thetouch_event_dispatcher API context.touch_deinitvoid touch_deinit (void)Arguments Type Commentvoid -1668207K-AT42-09/11

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

Saved successfully!

Ooh no, something went wrong!