QTouch Group A/B method memory requirement

The Table below captures the Typical Code & Data Memory requirement for the QTouch Library when QTouch Group A or QTouch Group B Sensor is used standalone.  (Additional Data memory will be required when both Group A and Group B are used at the same time.)

In addition to the Data memory captured in the Table, the QTouch Group A/B method requires additional Data Memory that must be provided to the Touch Library for storing the Signals, References, Sensor information and Touch status. This data memory is provided by the Host Application to the QTouch Library as QTouch data block.  The size of this Data memory block depends on the Number of Sensors and the Number of Wheel or Slider configured. Refer PRIV_QTx_DATA_BLK_SIZE macro in touch_api_at32uc3l.h.  For example, when 6 Sensors are used that include 1 Wheel, 1 Slider and 2 Button, the QTouch GroupA/B data block memory size is 184 bytes.

Table 1. Typical Code and Data memory for Standalone QTouch Group A/B operation

Library

Typical Code with Keys Only

Typical Code when one or more Wheel/Sliders is used

Typical Data Memory

libuc3l-qtouch-iar.r82

5198

6450

358

libuc3l-qtouch-gnu.a

5290

6774

358

Note:

This Typical Code memory usage is achieved when only the QTouch Group A/B Regular API is used in the application.  Usage of QTouch Group A/B Helper API would consume additional Code memory.  Also, the Code and Data memory indicated in the Table do not account for Example QTouch application.