Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/touch_element/
Dtouch_slider.c113 esp_err_t touch_slider_create(const touch_slider_config_t *slider_config, touch_slider_handle_t *sl… in touch_slider_create() argument
116 TE_CHECK(slider_handle != NULL && slider_config != NULL, ESP_ERR_INVALID_ARG); in touch_slider_create()
117 TE_CHECK(slider_config->channel_num > 2 && in touch_slider_create()
118 slider_config->channel_num < TOUCH_PAD_MAX && in touch_slider_create()
119 slider_config->channel_array != NULL && in touch_slider_create()
120 slider_config->sensitivity_array != NULL && in touch_slider_create()
121 slider_config->position_range > slider_config->channel_num, in touch_slider_create()
123 …TE_CHECK(te_object_check_channel(slider_config->channel_array, slider_config->channel_num) == fals… in touch_slider_create()
131 te_slider->device = (te_dev_t **)calloc(slider_config->channel_num, sizeof(te_dev_t *)); in touch_slider_create()
132 te_slider->channel_bcm = (uint32_t *)calloc(slider_config->channel_num, sizeof(uint32_t)); in touch_slider_create()
[all …]
/hal_espressif-3.6.0/components/touch_element/test/
Dtest_touch_slider.c131 touch_slider_config_t slider_config = { in test_slider_disp_event() local
137 TEST_ESP_OK(touch_slider_create(&slider_config, &slider_handle)); in test_slider_disp_event()
170 touch_slider_config_t slider_config = { in test_slider_disp_callback() local
176 TEST_ESP_OK(touch_slider_create(&slider_config, &slider_handle)); in test_slider_disp_callback()
Dtest_touch_element.c286 touch_slider_config_t slider_config = { in test_integrat_btn_sld_mat() local
292 TEST_ESP_OK(touch_slider_create(&slider_config, &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.c92 touch_slider_config_t slider_config = { in app_main() local
98 ESP_ERROR_CHECK(touch_slider_create(&slider_config, &slider_handle)); in app_main()
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/main/
Dtouch_elements_example_main.c126 touch_slider_config_t slider_config = { in slider_example_init() local
132 ESP_ERROR_CHECK(touch_slider_create(&slider_config, &slider_handle)); in slider_example_init()
/hal_espressif-3.6.0/components/touch_element/include/touch_element/
Dtouch_slider.h120 esp_err_t touch_slider_create(const touch_slider_config_t *slider_config, touch_slider_handle_t *sl…