touch_qt_config_t

structure

touch_qm_config_t

Input / Output

Input to the library

Use

Data structure which holds all configuration information pertaining to QMatrix

Fields

Type

Comment

num_channels

uint8_t

Indicates the number of QTouch Group A/B channels required by the user

num_sensors

uint8_t

Indicates the number of QTouch Group A/B sensors required by the user.

num_rotors_and_sliders

uint8_t

Indicates the number of QTouch Group A/B rotors / sliders required by the user.

pin

touch_qt_pin_t

Holds the QTouch Group A/B Pin configuration information as filled by the user.

reg

touch_qt_reg_t

Holds the QTouch Group A/B register configuration information as filled by the user.

global_param

touch_global_param_t

Holds the global parameters for QTouch Group A/B as filled by the user.

p_data_blk

uint8_t*

Pointer to the data block allocated by the user

buffer_size

uint16_t

Size of the data block pointed to by p_data_blk. The user must provide the PRIV_QTA_DATA_BLK_SIZE or PRIV_QTB_DATA_BLK_SIZE macro for this input field.

filter_callback

Pointer to a function

Pointer to callback function that will be called before processing the signals