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.

Table 4 :List of configurable parameters for touch library usage.Symbol / Constantname_QMATRIX_QT_NUM_CHANNELSNUM_X_LINESNUM_Y_LINES_ROTOR_SLIDER_QT_MAX_NUM_ROTORS_SLIDERSQT_DELAY_CYCLESNUM_X_PORTSPORT_X_1Range of valuesSymbol defined to indicateQMatrix acquisition method isrequiredThe number of channels thelibrary supports.( Possiblevalues:4,8,16,32,56,64).Note: 56 channel for onlyATxmega Devices.The number of X lines thelibrary supports.( Possiblevalues:4,8)The number of Y lines thelibrary supports.( Possiblevalues:1,2,4,7,8)Note: 7 Y-lines for onlyATxmega Devices)Symbol defined if Rotor and/orslider is requiredMaximum number ofrotors/sliders the librarysupports( possiblevalues:0,2,4,8)Possible values:1,2,3,4,5,10,25,50Number of ports on which theX lines needs to be spread.(Possible values 1,2,3)First IO port for configuring theX lines.Any IO port availablewith the device.CommentsDefine this symbol to indicate QMatrixacquisition method is requiredValue should be same as the number ofchannels that the library supportsValue should be same as the number of Xlines that the library supports. Refer tolibrary selection guideValue should be same as the number of Ylines that the library supports. Refer tolibrary selection guideNeeds to be added in case user needs toconfigure ROTOR/SLIDERNeeds to be removed for ALL KEYSconfigurationSubject to support for rotors/sliders in thelibrary selected.Please refer to section 5.6.8Maximum number of ports that the X linescan spread is 3.Note: Code memory required increaseswith the increase in NUM_X_PORTSDrive electrode for touch sensing usingQMatrix acquisitionValid when NUM_X_PORTS =1,2,3PORT_NUM_1 1 Please donot edit this macroValid when NUM_X_PORTS =1,2,3PORT_X_2Second IO port for configuringthe X lines. Any IO portavailable with the device.Drive electrode for touch sensing usingQMatrix acquisitionValid when NUM_X_PORTS =2,3PORT_NUM_2 2 Please donot edit this macroValid when NUM_X_PORTS =2,3PORT_X_3Third IO port for configuringthe X lines. Any IO portavailable with the device.Drive electrode for touch sensing usingQMatrix acquisitionValid when NUM_X_PORTS =3PORT_NUM_3 3 Please donot edit this macroValid when NUM_X_PORTS =3PORT_YAAny IO port available with thedevice.Receive electrode for touch sensing usingQMatrix acquisitionPORT_YBADC port available for thedevice.Receive electrode for touch sensing usingQMatrix acquisitionPORT_SMPAny IO port available with thedevice.Port of the Sampling pin for touch sensingusing QMatrix acquisitionSMP_PINAny IO port available with thedevice.Sampling pin for touch sensing usingQMatrix acquisition_ATXMEGA_Symbol defined if an ATxmegaDevice is used for QMatrixsensing technologyNeeds to be added if the device to besupported is ATxmegaxxxx588207K-AT42-09/11

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

Saved successfully!

Ooh no, something went wrong!