Home
last modified time | relevance | path

Searched refs:global_config (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.6.0/components/touch_element/test/
Dtest_touch_matrix.c63 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
64 TEST_ESP_OK(touch_element_install(&global_config));
72 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
73 TEST_ESP_OK(touch_element_install(&global_config));
81 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
82 TEST_ESP_OK(touch_element_install(&global_config));
194 touch_matrix_global_config_t global_config = TOUCH_MATRIX_GLOBAL_DEFAULT_CONFIG(); in test_matrix_disp_event() local
195 TEST_ESP_OK(touch_matrix_install(&global_config)); in test_matrix_disp_event()
236 touch_matrix_global_config_t global_config = TOUCH_MATRIX_GLOBAL_DEFAULT_CONFIG(); in test_matrix_disp_callback() local
237 TEST_ESP_OK(touch_matrix_install(&global_config)); in test_matrix_disp_callback()
[all …]
Dtest_touch_button.c70 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
71 TEST_ESP_OK(touch_element_install(&global_config));
79 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
80 TEST_ESP_OK(touch_element_install(&global_config));
88 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
89 TEST_ESP_OK(touch_element_install(&global_config));
177 touch_button_global_config_t global_config = TOUCH_BUTTON_GLOBAL_DEFAULT_CONFIG(); in test_button_disp_event() local
178 TEST_ESP_OK(touch_button_install(&global_config)); in test_button_disp_event()
272 touch_button_global_config_t global_config = TOUCH_BUTTON_GLOBAL_DEFAULT_CONFIG(); in test_button_event_change_lp() local
273 TEST_ESP_OK(touch_button_install(&global_config)); in test_button_event_change_lp()
[all …]
Dtest_touch_slider.c49 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
50 TEST_ESP_OK(touch_element_install(&global_config));
128 touch_slider_global_config_t global_config = TOUCH_SLIDER_GLOBAL_DEFAULT_CONFIG(); in test_slider_disp_event() local
129 TEST_ESP_OK(touch_slider_install(&global_config)); in test_slider_disp_event()
168 touch_slider_global_config_t global_config = TOUCH_SLIDER_GLOBAL_DEFAULT_CONFIG(); in test_slider_disp_callback() local
169 TEST_ESP_OK(touch_slider_install(&global_config)); in test_slider_disp_callback()
Dtest_touch_element.c56 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
57 TEST_ESP_OK(touch_element_install(&global_config));
64 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
65 TEST_ESP_OK(touch_element_install(&global_config));
93 touch_button_global_config_t global_config = TOUCH_BUTTON_GLOBAL_DEFAULT_CONFIG(); in test_system_waterproof_guard() local
94 TEST_ESP_OK(touch_button_install(&global_config)); in test_system_waterproof_guard()
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/main/
Dtouch_elements_example_main.c99 touch_button_global_config_t global_config = TOUCH_BUTTON_GLOBAL_DEFAULT_CONFIG(); in button_example_init() local
100 ESP_ERROR_CHECK(touch_button_install(&global_config)); in button_example_init()
122 touch_slider_global_config_t global_config = TOUCH_SLIDER_GLOBAL_DEFAULT_CONFIG(); in slider_example_init() local
123 ESP_ERROR_CHECK(touch_slider_install(&global_config)); in slider_example_init()
143 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG(); in app_main() local
144 ESP_ERROR_CHECK(touch_element_install(&global_config)); in app_main()
/hal_espressif-3.6.0/components/touch_element/
Dtouch_slider.c20 #define TE_SLD_DEFAULT_QTF_THR(obj) ((obj)->global_config->quantify_lower_thr…
21 #define TE_SLD_DEFAULT_POS_FILTER_FACTOR(obj) ((obj)->global_config->position_filter_fa…
22 #define TE_SLD_DEFAULT_CALCULATE_CHANNEL(obj) ((obj)->global_config->calculate_channel_…
23 #define TE_SLD_DEFAULT_BCM_UPDATE_TIME(obj) ((obj)->global_config->benchmark_update_t…
24 #define TE_SLD_DEFAULT_FILTER_RESET_TIME(obj) ((obj)->global_config->filter_reset_time)
25 #define TE_SLD_DEFAULT_POS_FILTER_SIZE(obj) ((obj)->global_config->position_filter_si…
34 …touch_slider_global_config_t *global_config; //Slider global conf… member
60 esp_err_t touch_slider_install(const touch_slider_global_config_t *global_config) in touch_slider_install() argument
63 TE_CHECK(global_config != NULL, ESP_ERR_INVALID_ARG); in touch_slider_install()
67 …s_te_sld_obj->global_config = (touch_slider_global_config_t *)calloc(1, sizeof(touch_slider_global… in touch_slider_install()
[all …]
Dtouch_button.c27 …touch_button_global_config_t *global_config; //Button global co… member
50 esp_err_t touch_button_install(const touch_button_global_config_t *global_config) in touch_button_install() argument
53 TE_CHECK(global_config != NULL, ESP_ERR_INVALID_ARG); in touch_button_install()
57 …s_te_btn_obj->global_config = (touch_button_global_config_t *)calloc(1, sizeof(touch_button_global… in touch_button_install()
59 …TE_CHECK_GOTO(s_te_btn_obj->global_config != NULL && s_te_btn_obj->global_config != NULL, cleanup); in touch_button_install()
62 memcpy(s_te_btn_obj->global_config, global_config, sizeof(touch_button_global_config_t)); in touch_button_install()
75 TE_FREE_AND_NULL(s_te_btn_obj->global_config); in touch_button_install()
91 free(s_te_btn_obj->global_config); in touch_button_uninstall()
92 s_te_btn_obj->global_config = NULL; in touch_button_uninstall()
Dtouch_element.c76 #define TE_PROCESSING_PERIOD(obj) ((obj)->global_config->software.processing_period)
77 #define TE_WATERPROOF_DIVIDER(obj) ((obj)->global_config->software.waterproof_thresh…
95 touch_elem_global_config_t *global_config; //Global initialization member
144 esp_err_t touch_element_install(const touch_elem_global_config_t *global_config) in touch_element_install() argument
147 TE_CHECK(global_config != NULL, ESP_ERR_INVALID_ARG); in touch_element_install()
153 …s_te_obj->global_config = (touch_elem_global_config_t *)calloc(1, sizeof(touch_elem_global_config_… in touch_element_install()
155 TE_CHECK_GOTO(s_te_obj->global_config != NULL && s_te_obj->mutex != NULL, cleanup); in touch_element_install()
158 ret = te_hw_init(&global_config->hardware); in touch_element_install()
162 ret = te_sw_init(&global_config->software); in touch_element_install()
171 TE_FREE_AND_NULL(s_te_obj->global_config); in touch_element_install()
[all …]
Dtouch_matrix.c29 …touch_matrix_global_config_t *global_config; //M… member
53 esp_err_t touch_matrix_install(const touch_matrix_global_config_t *global_config) in touch_matrix_install() argument
56 TE_CHECK(global_config != NULL, ESP_ERR_INVALID_ARG); in touch_matrix_install()
61 …s_te_mat_obj->global_config = (touch_matrix_global_config_t *)calloc(1, sizeof(touch_matrix_global… in touch_matrix_install()
63 TE_CHECK_GOTO(s_te_mat_obj->global_config != NULL && s_te_mat_obj->mutex != NULL, cleanup); in touch_matrix_install()
66 memcpy(s_te_mat_obj->global_config, global_config, sizeof(touch_matrix_global_config_t)); in touch_matrix_install()
79 TE_FREE_AND_NULL(s_te_mat_obj->global_config); in touch_matrix_install()
95 free(s_te_mat_obj->global_config); in touch_matrix_uninstall()
96 s_te_mat_obj->global_config = NULL; in touch_matrix_uninstall()
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_slider/main/
Dtouch_slider_example_main.c84 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG(); in app_main() local
85 ESP_ERROR_CHECK(touch_element_install(&global_config)); in app_main()
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_button/main/
Dtouch_button_example_main.c95 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG(); in app_main() local
96 ESP_ERROR_CHECK(touch_element_install(&global_config)); in app_main()
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_matrix/main/
Dtouch_matrix_example_main.c90 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG(); in app_main() local
91 ESP_ERROR_CHECK(touch_element_install(&global_config)); in app_main()
/hal_espressif-3.6.0/components/touch_element/include/touch_element/
Dtouch_element_private.h48 #define TE_DEFAULT_THRESHOLD_DIVIDER(obj) ((obj)->global_config->threshold_divider)
49 #define TE_DEFAULT_LONGPRESS_TIME(obj) ((obj)->global_config->default_lp_time)
Dtouch_button.h80 esp_err_t touch_button_install(const touch_button_global_config_t *global_config);
Dtouch_matrix.h94 esp_err_t touch_matrix_install(const touch_matrix_global_config_t *global_config);
Dtouch_slider.h96 esp_err_t touch_slider_install(const touch_slider_global_config_t *global_config);
Dtouch_element.h152 esp_err_t touch_element_install(const touch_elem_global_config_t *global_config);
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dtouch_element.rst230 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG();
231 touch_element_install(&global_config);