3.4.6 Max-On Duration (MOD)
Max-On-Duration (MOD) defines the maximum button ON-time before a re-calibration performs. This setting has a fallback if a button gets "stuck in touch." You may configure MOD in a system where a prolonged touch is invalid. If a button is detected for more than MOD, the button will be calibrated (resulting in a revert to a no-detect state). If MOD is zero, it is seen as infinite, allowing buttons to be pushed and reported whenever activated, and the selected MOD value is scaled by 200 ms.
For example, if the MOD is configured as ten, then 10 * 200 = 2s. If a button is in detect for more than 2s, the button will go back to no-detect state.
Steps to Configure MOD
The MOD value for Buttons can be updated by writing in the Sensor Max-On-Time (MAXONTIME) register. Refer to the Configuration Summary for more details.