Download STMTouch driver user manual

Transcript
Getting started
3.4.5
UM1606
Variables monitoring
Many variables can be monitored in order to debug your application. The list below is not
exhaustive but shows only the most important variables used in both libraries:
Previous library
•
The sSCKeyInfo, sMCKeyInfo and sAcqBankInfo structures contain all informations
related to touchkey and linear/rotary sensors: reference, last measure, thresholds,
state, position, EPCC, ..
STMTouch library
•
The array of TSL_ChannelData_T structure contains the reference, measure and delta
values of ALL channels used by the application:
Figure 24. Debug of TSL_ChannelData_T structure
•
120/125
The array of TSL_TouchKeyData_T contains mainly the touchkey sensors state:
DocID024201 Rev 4