Atmel QTouch Library User Guide

Atmel QTouch Library User Guide Atmel QTouch Library User Guide

prochild.co.kr
from prochild.co.kr More from this publisher
11.07.2015 Views

Figure 5-34: Selecting the SNS and SNSK Port Pins in the new Design( Without Error)Once the pins are selected, Pin Wizard will provide the summary report .Check whether detailsare correct as specified.Click NextFigure 5-35: Summary report1008207K-AT42-09/11

Figure 5-36: Code Generation tab in Pin Configuration wizard9. In the New Window Screen, the code is shown on thescreen.QTOUCH_STUDIO_MASKS needs to be enabled in the project option or intouch_qt_config.h file .And in the main.c file, this code SNS_array and SNSK_arrayneeds to be copied from here and put under QTOUCH_STUDIO_MASKS macro asshown below in the main.c file:#ifdef QTOUCH_STUDIO_MASKSSNS_array[0][0]=0x09;SNS_array[0][1]=0x22;SNS_array[1][0]=0x00;SNS_array[1][1]=0x00;SNSK_array[0][0]=0x14;SNSK_array[0][1]=0x88;SNSK_array[1][0]=0x00;SNSK_array[1][1]=0x00;#endifNote:1. To use 4 and 8 channel libraries(interport case) for pin configurability ,_STATIC_PORT_PIN_CONF_ macro needs to be enabled in the project options or intouch_qt_config.h file.101

Figure 5-34: Selecting the SNS and SNSK Port Pins in the new Design( Without Error)Once the pins are selected, Pin Wizard will provide the summary report .Check whether detailsare correct as specified.Click NextFigure 5-35: Summary report1008207K-AT42-09/11

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

Saved successfully!

Ooh no, something went wrong!