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.

Bit 7 6 5 4 3 2 1 0smp_dis_pingeneral_pin_options_tYLineY7 &YK7Y6 &YK6Specify one of the followingUSE_NO_PINUSE_PIN_PA12_AS_SMPUSE_PIN_PA13_AS_SMPUSE_PIN_PA14_AS_SMPUSE_PIN_PA17_AS_SMPUSE_PIN_PA21_AS_SMPUSE_PIN_PA22_AS_SMPUSE_PIN_PA17_AS_DISY5 &YK5Y4 &YK4Y3 &YK3Y2 &YK2Y1 &YK1Y0 &YK0vdiv_pingeneral_pin_options_tSpecify either USE_NO_PIN or USE_PIN_PB11_AS_VDIVtouch_at_pin_tstructureInput / OutputUsetouch_at_pin_tInput to the libraryData structure which holds the Pin configuration for Autonomous <strong>QTouch</strong>sensorFields Type Commentatsp uint8_t Sense pair to be used for autonomous <strong>QTouch</strong> detection. Choose any onesense pair from SP0 to SP16 using the qt_pin_options_t enum.For example, if atsp is set as SP7, Sense pair 7 (CSA7, CSB7) will be assignedfor autonomous <strong>QTouch</strong> detectiontouch_qt_pin_tstructureInput / OutputUsetouch_at_pin_tInput to the libraryData structure which holds the Pin configuration for <strong>QTouch</strong> sensor.FieldsspTypeuint32_tCommentBit n indicates Sense Pair SP[n] is selected. Choose sense pairs from SP0 toSP16.Bit 17-3116 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0SPn- X16X15X14X13X12X11X10X9X8X7X6X5X4X3X2X1X0touch_qm_reg_tstructure touch_qm_reg_tInput / Output Input to the library149

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

Saved successfully!

Ooh no, something went wrong!