touch_qm_pin_t

structure

touch_qm_pin_t

Input / Output

Input to the library

Use

Data structure which holds the Pin configuration information for QMatrix

Fields

Type

Comment

x_lines

uint32_t

Bitmask that indicates the selected X pins for QMatrix. If bit n is set, Xn is enabled for QMatrix; n can be 0 to 17. Any other bits set are ignored.  Note: For QMatrix operation, X8 is not available as it must be used for ACREFN function.

y_yk_lines

uint8_t

Bitmask that indicates the selected Y pins for QMatrix. If bit n is set, Yn & Ykn is enabled for QMatrix; n can be 0 to 7.

smp_dis_pin

general_pin_options_t

Specify one of  the following

USE_NO_PIN

USE_PIN_PA12_AS_SMP

USE_PIN_PA13_AS_SMP

USE_PIN_PA14_AS_SMP

USE_PIN_PA17_AS_SMP

USE_PIN_PA21_AS_SMP

USE_PIN_PA22_AS_SMP

USE_PIN_PA17_AS_DIS

vdiv_pin

general_pin_options_t

Specify either USE_NO_PIN or USE_PIN_PB11_AS_VDIV