Home
last modified time | relevance | path

Searched refs:slider_handle (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.6.0/components/touch_element/
Dtouch_slider.c28 te_slider_handle_t slider_handle; //Slider handle member
40 static bool slider_channel_check(te_slider_handle_t slider_handle, touch_pad_t channel_num);
41 static esp_err_t slider_set_threshold(te_slider_handle_t slider_handle);
43 static void slider_reset_state(te_slider_handle_t slider_handle);
44 static void slider_update_position(te_slider_handle_t slider_handle);
45 static void slider_reset_position(te_slider_handle_t slider_handle);
46 static void slider_update_benchmark(te_slider_handle_t slider_handle);
47 static void slider_update_state(te_slider_handle_t slider_handle, touch_pad_t channel_num, te_state…
48 static void slider_proc_state(te_slider_handle_t slider_handle);
49 static void slider_event_give(te_slider_handle_t slider_handle);
[all …]
/hal_espressif-3.6.0/components/touch_element/test/
Dtest_touch_slider.c36 void test_slider_event_simulator(touch_slider_handle_t slider_handle, touch_slider_event_t slider_e…
56 void test_slider_event_simulator(touch_slider_handle_t slider_handle, touch_slider_event_t slider_e… in test_slider_event_simulator() argument
58 te_slider_handle_t te_slider = (te_slider_handle_t) slider_handle; in test_slider_event_simulator()
127 touch_slider_handle_t slider_handle; in test_slider_disp_event() local
137 TEST_ESP_OK(touch_slider_create(&slider_config, &slider_handle)); in test_slider_disp_event()
138 …touch_slider_subscribe_event(slider_handle, TOUCH_ELEM_EVENT_ON_PRESS | TOUCH_ELEM_EVENT_ON_RELEAS… in test_slider_disp_event()
139 TEST_ESP_OK(touch_slider_set_dispatch_method(slider_handle, TOUCH_ELEM_DISP_EVENT)); in test_slider_disp_event()
150 … test_slider_event_trigger_and_check(slider_handle, TOUCH_SLIDER_EVT_ON_PRESS, random_channel); in test_slider_disp_event()
151 … test_slider_event_trigger_and_check(slider_handle, TOUCH_SLIDER_EVT_ON_RELEASE, random_channel); in test_slider_disp_event()
155 TEST_ESP_OK(touch_slider_delete(slider_handle)); in test_slider_disp_event()
[all …]
Dtest_touch_element.c44 extern void test_slider_event_simulator(touch_slider_handle_t slider_handle, touch_slider_event_t s…
259 touch_slider_handle_t slider_handle; in test_integrat_btn_sld_mat() local
292 TEST_ESP_OK(touch_slider_create(&slider_config, &slider_handle)); in test_integrat_btn_sld_mat()
293 …TEST_ESP_OK(touch_slider_subscribe_event(slider_handle, TOUCH_ELEM_EVENT_ON_PRESS | TOUCH_ELEM_EVE… in test_integrat_btn_sld_mat()
294 TEST_ESP_OK(touch_slider_set_dispatch_method(slider_handle, TOUCH_ELEM_DISP_EVENT)); in test_integrat_btn_sld_mat()
326 valid_message.handle = slider_handle; in test_integrat_btn_sld_mat()
379 TEST_ESP_OK(touch_slider_delete(slider_handle)); in test_integrat_btn_sld_mat()
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_slider/main/
Dtouch_slider_example_main.c15 static touch_slider_handle_t slider_handle; //Touch slider handle variable
68 if (out_handle != slider_handle) { in slider_handler()
98 ESP_ERROR_CHECK(touch_slider_create(&slider_config, &slider_handle)); in app_main()
100 …ESP_ERROR_CHECK(touch_slider_subscribe_event(slider_handle, TOUCH_ELEM_EVENT_ON_PRESS | TOUCH_ELEM… in app_main()
103 ESP_ERROR_CHECK(touch_slider_set_dispatch_method(slider_handle, TOUCH_ELEM_DISP_EVENT)); in app_main()
108 ESP_ERROR_CHECK(touch_slider_set_dispatch_method(slider_handle, TOUCH_ELEM_DISP_CALLBACK)); in app_main()
110 ESP_ERROR_CHECK(touch_slider_set_callback(slider_handle, slider_handler)); in app_main()
/hal_espressif-3.6.0/components/touch_element/include/touch_element/
Dtouch_slider.h120 …ch_slider_create(const touch_slider_config_t *slider_config, touch_slider_handle_t *slider_handle);
132 esp_err_t touch_slider_delete(touch_slider_handle_t slider_handle);
154 esp_err_t touch_slider_subscribe_event(touch_slider_handle_t slider_handle, uint32_t event_mask, vo…
170 esp_err_t touch_slider_set_dispatch_method(touch_slider_handle_t slider_handle, touch_elem_dispatch…
191 esp_err_t touch_slider_set_callback(touch_slider_handle_t slider_handle, touch_slider_callback_t sl…
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/main/
Dtouch_elements_example_main.c18 static touch_slider_handle_t slider_handle; //Touch slider handle variable
132 ESP_ERROR_CHECK(touch_slider_create(&slider_config, &slider_handle)); in slider_example_init()
134 …ESP_ERROR_CHECK(touch_slider_subscribe_event(slider_handle, TOUCH_ELEM_EVENT_ON_PRESS | TOUCH_ELEM… in slider_example_init()
136 ESP_ERROR_CHECK(touch_slider_set_dispatch_method(slider_handle, TOUCH_ELEM_DISP_EVENT)); in slider_example_init()