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.

Figure 44 Autonomous <strong>QTouch</strong> API Flow diagramAutonomous <strong>QTouch</strong> method Enable and Disable Sensor for UC3LThe touch_at_sensor_enable and touch_at_sensor_disable API can be used for Enabling andDisabling and the Autonomous <strong>QTouch</strong> Sensor. Once the Autonomous <strong>QTouch</strong> sensor isenabled, the CAT module performs continuous Touch Measurements on the Sensor in order todetect the Touch Status.Raw acquisition mode support for UC3LThe <strong>QTouch</strong> <strong>Library</strong> Raw acquisition mode can be used with QMatrix, <strong>QTouch</strong> Group A and<strong>QTouch</strong> Group B methods. When raw data acquisition mode is used, once the raw acquisitiondata is available from the CAT module for all the sensors, the measure_complete_callbackfunction is immediately called with acquisition data (channel_signals). The channel_references,sensor_states and rotor_slider_values data are not updated by the Touch <strong>Library</strong> in this mode.touch_xx_sensors_init()Configure multiplesensorstouch_xx_sensors_config()touch_xx_sensors_calibrate()Call in looptime_to_measure_touchtouch_event_dispatcher()measure_complete_callback(),Raw acquisition data.touch_xx_sensors_start_acquisition(RAW_ACQ_MODE)133Host Application code

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

Saved successfully!

Ooh no, something went wrong!