Function esp_idf_sys::touch_pad_set_trigger_mode
source ยท pub unsafe extern "C" fn touch_pad_set_trigger_mode(
mode: touch_trigger_mode_t,
) -> esp_err_t
Expand description
@brief Set touch sensor interrupt trigger mode. Interrupt can be triggered either when counter result is less than threshold or when counter result is more than threshold. @param mode touch sensor interrupt trigger mode @return - ESP_OK on success - ESP_ERR_INVALID_ARG if argument is wrong