CapSense Design Tools
CY8C20xx7/S CapSense
®
Design Guide
Doc. No. 001-78329 Rev. *E
25
Figure 3-6. Sensor State versus Difference Count with Hysteresis Set to Zero
Figure 3-7. Sensor State versus Difference Count with Hysteresis
𝑖𝑓𝐷𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒𝐶𝑜𝑢𝑛𝑡 ≥ 𝐹𝑖𝑛𝑔𝑒𝑟𝑇𝑟𝑒𝑠𝑜𝑙𝑑 + 𝐻𝑦𝑠𝑡𝑒𝑟𝑒𝑠𝑖𝑠, 𝑆𝑒𝑛𝑠𝑜𝑟𝑆𝑡𝑎𝑡𝑒 = 𝑂𝑁
𝑖𝑓𝐷𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒𝐶𝑜𝑢𝑛𝑡 ≤ 𝐹𝑖𝑛𝑔𝑒𝑟𝑇𝑟𝑒𝑠𝑜𝑙𝑑 − 𝐻𝑦𝑠𝑡𝑒𝑟𝑒𝑠𝑖𝑠, 𝑆𝑒𝑛𝑠𝑜𝑟𝑆𝑡𝑎𝑡𝑒 = 𝑂𝐹𝐹
Equation 3-1
Possible values are 0 to 255.
For the recommended value, see
3.4.1.3 Debounce
The Debounce parameter prevents spikes in raw counts from changing the sensor state from OFF to ON. For the
sensor state to transition from OFF to ON, the difference count value must remain greater than the finger threshold
value plus the hysteresis level for the number of samples specified.
Possible values are 1 to 255. A setting of
„1‟ provides no debouncing.
For the recommended value, see