Function esp_idf_sys::touch_pad_set_trigger_source

source ·
pub unsafe extern "C" fn touch_pad_set_trigger_source(
    src: touch_trigger_src_t,
) -> esp_err_t
Expand description

@brief 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. @param src touch sensor interrupt trigger source @return - ESP_OK on success - ESP_ERR_INVALID_ARG if argument is wrong