Searched refs:threshold_time (Results 1 – 4 of 4) sorted by relevance
189 esp_err_t touch_button_set_longpress(touch_button_handle_t button_handle, uint32_t threshold_time);
207 esp_err_t touch_matrix_set_longpress(touch_matrix_handle_t matrix_handle, uint32_t threshold_time);
205 esp_err_t touch_button_set_longpress(touch_button_handle_t button_handle, uint32_t threshold_time) in touch_button_set_longpress() argument209 TE_CHECK(threshold_time > 0, ESP_ERR_INVALID_ARG); in touch_button_set_longpress()216 te_button->trigger_thr = threshold_time / timer_period; in touch_button_set_longpress()
244 esp_err_t touch_matrix_set_longpress(touch_matrix_handle_t matrix_handle, uint32_t threshold_time) in touch_matrix_set_longpress() argument248 TE_CHECK(threshold_time > 0, ESP_ERR_INVALID_ARG); in touch_matrix_set_longpress()255 te_matrix->trigger_thr = threshold_time / timer_period; in touch_matrix_set_longpress()