Searched refs:matrix_handle (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/components/touch_element/ |
D | touch_matrix.c | 23 te_matrix_handle_t matrix_handle; //Matrix handle member 35 static bool matrix_channel_check(te_matrix_handle_t matrix_handle, touch_pad_t channel_num); 36 static esp_err_t matrix_set_threshold(te_matrix_handle_t matrix_handle); 38 static void matrix_reset_state(te_matrix_handle_t matrix_handle); 39 static void matrix_update_state(te_matrix_handle_t matrix_handle, touch_pad_t channel_num, te_state… 40 static void matrix_update_position(te_matrix_handle_t matrix_handle, touch_matrix_position_t new_po… 41 static void matrix_proc_state(te_matrix_handle_t matrix_handle); 42 static void matrix_event_give(te_matrix_handle_t matrix_handle); 43 static inline void matrix_dispatch(te_matrix_handle_t matrix_handle, touch_elem_dispatch_t dispatch… 45 static esp_err_t matrix_object_add_instance(te_matrix_handle_t matrix_handle); [all …]
|
/hal_espressif-3.6.0/components/touch_element/test/ |
D | test_touch_matrix.c | 43 void test_matrix_event_simulator(touch_matrix_handle_t matrix_handle, touch_matrix_event_t matrix_e… 87 void test_matrix_event_simulator(touch_matrix_handle_t matrix_handle, touch_matrix_event_t matrix_e… in test_matrix_event_simulator() argument 89 te_matrix_handle_t te_matrix = (te_matrix_handle_t) matrix_handle; in test_matrix_event_simulator() 193 touch_matrix_handle_t matrix_handle = NULL; in test_matrix_disp_event() local 204 TEST_ESP_OK(touch_matrix_create(&matrix_config, &matrix_handle)); in test_matrix_disp_event() 205 …TEST_ESP_OK(touch_matrix_subscribe_event(matrix_handle, TOUCH_ELEM_EVENT_ON_PRESS | TOUCH_ELEM_EVE… in test_matrix_disp_event() 206 TEST_ESP_OK(touch_matrix_set_longpress(matrix_handle, 300)); in test_matrix_disp_event() 207 TEST_ESP_OK(touch_matrix_set_dispatch_method(matrix_handle, TOUCH_ELEM_DISP_EVENT)); in test_matrix_disp_event() 217 test_matrix_event_trigger_and_check(matrix_handle, TOUCH_MATRIX_EVT_ON_PRESS, button_num); in test_matrix_disp_event() 218 … test_matrix_event_trigger_and_check(matrix_handle, TOUCH_MATRIX_EVT_ON_LONGPRESS, button_num); in test_matrix_disp_event() [all …]
|
D | test_touch_element.c | 46 extern void test_matrix_event_simulator(touch_matrix_handle_t matrix_handle, touch_matrix_event_t m… 260 touch_matrix_handle_t matrix_handle; in test_integrat_btn_sld_mat() local 304 TEST_ESP_OK(touch_matrix_create(&matrix_config, &matrix_handle)); in test_integrat_btn_sld_mat() 305 …TEST_ESP_OK(touch_matrix_subscribe_event(matrix_handle, TOUCH_ELEM_EVENT_ON_PRESS | TOUCH_ELEM_EVE… in test_integrat_btn_sld_mat() 306 TEST_ESP_OK(touch_matrix_set_dispatch_method(matrix_handle, TOUCH_ELEM_DISP_EVENT)); in test_integrat_btn_sld_mat() 337 valid_message.handle = matrix_handle; in test_integrat_btn_sld_mat() 380 TEST_ESP_OK(touch_matrix_delete(matrix_handle)); in test_integrat_btn_sld_mat()
|
/hal_espressif-3.6.0/components/touch_element/include/touch_element/ |
D | touch_matrix.h | 120 …ch_matrix_create(const touch_matrix_config_t *matrix_config, touch_matrix_handle_t *matrix_handle); 132 esp_err_t touch_matrix_delete(touch_matrix_handle_t matrix_handle); 154 esp_err_t touch_matrix_subscribe_event(touch_matrix_handle_t matrix_handle, uint32_t event_mask, vo… 170 esp_err_t touch_matrix_set_dispatch_method(touch_matrix_handle_t matrix_handle, touch_elem_dispatch… 191 esp_err_t touch_matrix_set_callback(touch_matrix_handle_t matrix_handle, touch_matrix_callback_t ma… 207 esp_err_t touch_matrix_set_longpress(touch_matrix_handle_t matrix_handle, uint32_t threshold_time);
|
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_matrix/main/ |
D | touch_matrix_example_main.c | 16 static touch_matrix_handle_t matrix_handle; variable 74 if (out_handle != matrix_handle) { in matrix_handler() 106 ESP_ERROR_CHECK(touch_matrix_create(&matrix_config, &matrix_handle)); in app_main() 108 …ESP_ERROR_CHECK(touch_matrix_subscribe_event(matrix_handle, TOUCH_ELEM_EVENT_ON_PRESS | TOUCH_ELEM… in app_main() 111 ESP_ERROR_CHECK(touch_matrix_set_dispatch_method(matrix_handle, TOUCH_ELEM_DISP_EVENT)); in app_main() 116 ESP_ERROR_CHECK(touch_matrix_set_dispatch_method(matrix_handle, TOUCH_ELEM_DISP_CALLBACK)); in app_main() 118 ESP_ERROR_CHECK(touch_matrix_set_callback(matrix_handle, matrix_handler)); in app_main()
|