/hal_espressif-3.6.0/components/touch_element/test/ |
D | test_touch_matrix.c | 63 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 …]
|
D | test_touch_button.c | 70 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 …]
|
D | test_touch_slider.c | 49 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()
|
D | test_touch_element.c | 56 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/ |
D | touch_elements_example_main.c | 99 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/ |
D | touch_slider.c | 20 #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 …]
|
D | touch_button.c | 27 …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()
|
D | touch_element.c | 76 #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 …]
|
D | touch_matrix.c | 29 …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/ |
D | touch_slider_example_main.c | 84 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/ |
D | touch_button_example_main.c | 95 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/ |
D | touch_matrix_example_main.c | 90 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/ |
D | touch_element_private.h | 48 #define TE_DEFAULT_THRESHOLD_DIVIDER(obj) ((obj)->global_config->threshold_divider) 49 #define TE_DEFAULT_LONGPRESS_TIME(obj) ((obj)->global_config->default_lp_time)
|
D | touch_button.h | 80 esp_err_t touch_button_install(const touch_button_global_config_t *global_config);
|
D | touch_matrix.h | 94 esp_err_t touch_matrix_install(const touch_matrix_global_config_t *global_config);
|
D | touch_slider.h | 96 esp_err_t touch_slider_install(const touch_slider_global_config_t *global_config);
|
D | touch_element.h | 152 esp_err_t touch_element_install(const touch_elem_global_config_t *global_config);
|
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/ |
D | touch_element.rst | 230 touch_elem_global_config_t global_config = TOUCH_ELEM_GLOBAL_DEFAULT_CONFIG(); 231 touch_element_install(&global_config);
|