Home
last modified time | relevance | path

Searched refs:threshold_time (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/touch_element/include/touch_element/
Dtouch_button.h189 esp_err_t touch_button_set_longpress(touch_button_handle_t button_handle, uint32_t threshold_time);
Dtouch_matrix.h207 esp_err_t touch_matrix_set_longpress(touch_matrix_handle_t matrix_handle, uint32_t threshold_time);
/hal_espressif-3.6.0/components/touch_element/
Dtouch_button.c205 esp_err_t touch_button_set_longpress(touch_button_handle_t button_handle, uint32_t threshold_time) in touch_button_set_longpress() argument
209 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()
Dtouch_matrix.c244 esp_err_t touch_matrix_set_longpress(touch_matrix_handle_t matrix_handle, uint32_t threshold_time) in touch_matrix_set_longpress() argument
248 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()