touch_pad_set_trigger_source() function
Set touch sensor interrupt trigger source. There are two sets of touch signals. Set1 and set2 can be mapped to several touch signals. Either set will be triggered if at least one of its touch signal is 'touched'. The interrupt can be configured to be generated if set1 is triggered, or only if both sets are triggered.
Arguments
src
touch sensor interrupt trigger source
Return value
- ESP_OK on success - ESP_ERR_INVALID_ARG if argument is wrong