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.

qt_enable_slider (CHANNEL_0, CHANNEL_2, NO_AKS_GROUP, 16,HYST_6_25, RES_8_BIT, 0);Now, the rotor is sensor 0, the keys are sensors 1 and 2, and the slider is sensor 3.So, the order in which the user enables the sensors is the order in which the sensors arenumbered. Depending on the user requirements, the sensors can be configured in the preferredorder.NOTE: In case of QMatrix, the channels on the Unused X lines (or) unused Y lines should beignored and not to be used as arguments in this API.Ex: If the host application needs only 24 channels , there are two possible options.1. In 32 (8x4 configuration), if X6 and X7 are unused, channel6, channel7,channel14, channel15, channel 22, channel23, channel30, channel 31cannot be used2. In 32 (8x4 configuration), if Y3 is unused, channe24, channel25,channel26, channel27, channel 28, channel29, channel30, channel 31cannot be usedFiltering Signal MeasurementsThe ATMEL <strong>QTouch</strong> <strong>Library</strong> API provides a function pointer called “qt_filter_callback”. The usercan use this hook to apply filter functions to the measured signal values.If the pointer is non-NULL, the library calls the function after library has made capacitive channelmeasurements, but before the library has processed the channel information and determining thesensor states.43

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

Saved successfully!

Ooh no, something went wrong!