touch_pad_config() function
Configure touch pad interrupt threshold.
Arguments
threshold
interrupt threshold,
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG if argument wrong - ESP_FAIL if touch pad not initialized
Notes
If FSM mode is set to TOUCH_FSM_MODE_TIMER, this function will be blocked for one measurement cycle and wait for data to be valid.
touch_pad_config() calls 15 functions:
![]()
touch_pad_config()
touch_pad_config() reads 10 variables and writes 1 variable:
![]()
touch_pad_config()