3. Building and running project (Shield Board)
A31G213CLN Shield Board Quick Start Guide
24
10.
ts_Set_Debounce (unsigned char debounce_n_det, unsigned char debounce_n_rel)
A.
Debounce is used to remove glitch noise.
B.
If the debounce count is too large, it takes a lot of time for touch recognition and release
recognition, so you need to set the appropriate value.
C.
It is recommended to range from 0 to 3.
Figure 25. Debounce Count
11.
ts_Set_OffsetIIR (unsigned char offsetIIR)
A.
This function set offset value of the IIR filter.
B.
data(n) = (data(n-1)*ofdata(n))/(of1)
Figure 26. IIR-Filter