Configuration structure of advanced touchpad.
Data Fields | |
uint16_t | penultimateTh |
Defines a threshold for determining arrival at edges. More... | |
uint16_t | virtualSnsTh |
Defines a virtual sensor signal. More... | |
uint8_t | crossCouplingTh |
Defines cross coupling threshold. More... | |
uint8_t | reserved0 |
Reserved field. | |
uint8_t | reserved1 |
Reserved field. | |
uint8_t | reserved2 |
Reserved field. | |
uint16_t cy_stc_capsense_advanced_touchpad_config_t::penultimateTh |
Defines a threshold for determining arrival at edges.
This value may have to be increased for small diamonds, so that the edge handling is initiated sooner. If this number is too high, there is jumping at the edge with a smaller finger. If this number is too low, there is jumping at the edge with a larger finger.
uint16_t cy_stc_capsense_advanced_touchpad_config_t::virtualSnsTh |
Defines a virtual sensor signal.
This value should be set to the value of any sensor when a medium-sized finger is placed directly over it. If this value is too high, a position is reported nearer the edge than ideal position. If this value is too low, a position is reported nearer the middle of touchpad.
uint8_t cy_stc_capsense_advanced_touchpad_config_t::crossCouplingTh |
Defines cross coupling threshold.
It is subtracted from sensor signals at centroid position calculation to improve the accuracy. The threshold should be equal to a sensor signal when your finger is near the sensor, but not touching the sensor. This can be determined by slowly dragging your finger across the panel and finding the inflection point of the difference counts at the base of the curve. The difference value at this point should be the Cross-coupling threshold.