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.

Number ofchannels requiredfor the application6 number channels available for aTiny88 is listed in<strong>Library</strong>_Selection_<strong>Guide</strong>.xlsNumber of X linesneededBased on the number of channels,since 8 channels is needed, 4 X linesare supported.NUM_X_LINES is 4Since 3 X- lines (6 channels ) areused, Do not initialize 4 th elementin x_line_info[NUM_X_LINES].Hence channel6, channel7 neednot be used.Number of Y lines Based on the number of channels, NUM_Y_LINES is 2.neededsince 8 channels is needed, 2 Y linesare supportedRotors and sliders Yes<strong>Library</strong> variants supported forrequired and 2ATTiny88 is listed in theNumber of<strong>Library</strong>_Selection_<strong>Guide</strong>.xlsROTOR/SLIDERSX_LINES on pinsas below(4-X lines)FILL_OUT_X_LINE_INFO(1,0),FILL_OUT_X_LINE_INFO(2,2),Main file has to be edited basedon the configuration. Refer toX0- B0, X1- D2,X3 FILL_OUT_X_LINE_INFO(1,7), section 5.8.2.1 . Refer channel– B7, X4 – B5numbering from thesection5.6.6.1.2OrThis can be filled from the outputof the pin configurator tool in<strong>QTouch</strong> Studio. Please refer tosection 5.8.2Y_LINES on pins FILL_OUT_YA_LINE_INFO(0), Main file has to be edited basedas below (2 Y- FILL_OUT_YA_LINE_INFO(5), on the configuration. Refer toLines)Y0A- D0, Y0B- C1,Y1A-D5, Y1B-C4,FILL_OUT_YB_LINE_INFO(1),FILL_OUT_YB_LINE_INFO(4),section 5.8.2.1OrThis can be filled from the outputof the pin configurator tool in<strong>QTouch</strong> Studio. Please refer tosection 5.8.2NUM_X_PORTS 2 Since X lines are spread on amultiple(2) ports: PORTB, PORTDCompiler tool chain IAR Supported compiler tool chains608207K-AT42-09/11

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

Saved successfully!

Ooh no, something went wrong!