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.

maintains the States of QMatrix, <strong>QTouch</strong> Group A and <strong>QTouch</strong> Group B methods independently.This means that QMatrix can be in a state that is different from the state of <strong>QTouch</strong> Group A or Band vice versa.For the case of Autonomous <strong>QTouch</strong>, only the TOUCH_STATE_NULL and TOUCH_STATE_INITstates apply in the State diagram.• The touch_at_sensor_init event causes a transition from TOUCH_STATE_NULL toTOUCH_STATE_INIT.• The touch_deinit event causes a transition from TOUCH_STATE_INIT toTOUCH_STATE_NULL.<strong>QTouch</strong> <strong>Library</strong> for UC3L State Diagramxx = qm, qtSensor state machine for QMatrixand <strong>QTouch</strong> GroupA/Btouch_xx_sensor_configtouch_xx_sensor_get_configtouch_xx_get_global_paramtouch_xx_get_libinfoTOUCH_STATE_INITtouch_qm_channel_udpate_burstlentouch_qt_sensor_disabletouch_qt_sensor_reenabletouch_xx_sensor_update_configtouch_xx_sensor_get_configtouch_xx_update_global_paramtouch_xx_get_global_paramtouch_xx_get_libinfotouch_xx_sensors_inittouch_deinittouch_xx_sensors_calibratetouch_qm_channel_udpate_burstlentouch_qt_sensor_disabletouch_qt_sensor_reenableTOUCH_STATE_CALIBRATETOUCH_STATE_ NULLtouch_deinittouch_deinitTOUCH_STATE_READYtouch_xx_sensors_calibratetouch_deinitmeasure_complete_callback(provide measured data andtouch status)touch_xx_sensors_start_acquisitiontouch_xx_sensor_update_configtouch_xx_sensor_get_configtouch_xx_update_global_paramtouch_xx_get_global_paramtouch_xx_get_sensor_deltatouch_xx_get_libinfoTOUCH_STATE_BUSYtouch_xx_get_libinfoFigure 36 State Diagram of <strong>QTouch</strong> <strong>Library</strong> for UC3LQMatrix method sensor operation for UC3LQMatrix method pin selection for UC3LPlease refer AT32UC3L datasheet Table 28-2 Pin Selection <strong>Guide</strong> and Table 3-1 GPIOController Function multiplexing, for mapping between the QMatrix method pin name and theGPIO pin. It is possible to configure a maximum of 17 X Lines and 8 Y-Yk pairs. The X Line X8(PA16) cannot be used for the QMatrix method as it is required to use this pin for the ACREFNfunction.1188207K-AT42-09/11

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

Saved successfully!

Ooh no, something went wrong!