Function esp_idf_sys::touch_pad_set_measurement_interval
source ยท pub unsafe extern "C" fn touch_pad_set_measurement_interval(
interval_cycle: u16,
) -> esp_err_t
Expand description
@brief Set the interval between two measurements @note The touch sensor will sleep between two mesurements This function is to set the interval cycle And the interval is clocked from SOC_MOD_CLK_RTC_SLOW, its default frequency is SOC_CLK_RC_SLOW_FREQ_APPROX
@param interval_cycle The interval between two measurements sleep_time = interval_cycle / SOC_CLK_RC_SLOW_FREQ_APPROX. The approximate frequency value of RTC_SLOW_CLK can be obtained using rtc_clk_slow_freq_get_hz function. @return - ESP_OK Set interval cycle success