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 QMatrix channels required by the user |
num_sensors |
uint8_t |
Indicates the number of QMatrix sensors required by the user. |
num_rotors_and_sliders |
uint8_t |
Indicates the number of QMatrix rotors / sliders required by the user. |
num_x_lines |
uint8_t |
Number of QMatrix X lines required by the user. |
num_y_lines |
uint8_t |
Number of QMatrix Y lines required by the user. |
num_x_sp |
uint8_t |
Number of X sense pairs used. This is a private variable to the Touch library. The user must provide PRIV_QM_NUM_X_SENSE_PAIRS for this input field. |
bl_write_count |
uint8_t |
Burst length write count. This is a private variable to the Touch library. The user must provide the PRIV_QM_BURST_LENGTH_WRITE_COUNT macro for this input field. |
pin |
touch_qm_pin_t |
Holds the QMatrix Pin configuration information as filled by the user. |
reg |
touch_qm_reg_t |
Holds the QMatrix register configuration information as filled by the user. |
global_param |
touch_global_param_t |
Holds the global parameters for QMatrix 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_QM_DATA_BLK_SIZE macro for this input field. |
p_burst_length |
uint8_t* |
Pointer to an array of 8-bit Burst lengths, where each 8-bit value correspond to the burst length of each channel starting from channel 0 to number of channels. |
filter_callback |
Pointer to a function |
Pointer to callback function that will be called before processing the signals |