11.07.2015 Views

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 35 Overview diagram of <strong>QTouch</strong> <strong>Library</strong> for UC3LAcquisition method support for UC3LWith the <strong>QTouch</strong> <strong>Library</strong> for UC3L, it is possible for a user to configure the following types ofSensors.• QMatrix method sensors.• <strong>QTouch</strong> Group A method sensors.• <strong>QTouch</strong> Group B method sensors.• Autonomous <strong>QTouch</strong> sensor.The <strong>QTouch</strong> <strong>Library</strong> for UC3L API has been arranged such that it is possible for the userapplication either to use any of the above method Standalone or two or more methods combinedtogether. The Table below captures the different API available under each method. For normaloperation, it is only required to use the Regular API set for each method. By using only theRegular API set, it is possible to achieve reduced code memory usage when using the <strong>QTouch</strong><strong>Library</strong>. The Helper API is provided for added flexibility to the user application.Acquisition method Regular API Helper APIQMatrix method APItouch_qm_sensors_inittouch_qm_sensor_configtouch_qm_sensors_calibratetouch_qm_sensors_start_acquisitiontouch_event_dispatchertouch_qm_sensor_update_configtouch_qm_sensor_get_configtouch_qm_channel_update_burstlentouch_qm_update_global_paramtouch_qm_get_global_paramtouch_qm_get_libinfotouch_qm_sensor_get_deltatouch_deinit<strong>QTouch</strong> Group A/Bmethod API(The first parameter to the<strong>QTouch</strong> API, allows todistinguish between <strong>QTouch</strong>Group A and <strong>QTouch</strong> GroupB.)touch_qt_sensors_inittouch_qt_sensor_configtouch_qt_sensors_calibratetouch_qt_sensors_start_acquisitiontouch_event_dispatchertouch_qt_sensor_update_configtouch_qt_sensor_get_configtouch_qt_update_global_paramtouch_qt_get_global_paramtouch_qt_get_libinfotouch_qt_sensor_get_deltatouch_qt _sensor_disabletouch_qt _sensor_reenabletouch_deinitAutonomous <strong>QTouch</strong> APItouch_at_sensor_inittouch_at_sensor_enabletouch_at_sensor_disabletouch_at_sensor_update_configtouch_at_sensor_get_configtouch_at_get_libinfotouch_deinitAPI State machine for UC3LTable 9 Acquisition method specific APIThe <strong>QTouch</strong> <strong>Library</strong> State machine diagram captures the different library States, Events that areallowed in each State and Event transition from one State to the other. The <strong>QTouch</strong> <strong>Library</strong>117

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

Saved successfully!

Ooh no, something went wrong!