Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/touch_element/
Dtouch_matrix.c117 matrix_config->y_channel_num > 1 && in touch_matrix_create()
118 matrix_config->y_channel_num < TOUCH_PAD_MAX, in touch_matrix_create()
121 … te_object_check_channel(matrix_config->y_channel_array, matrix_config->y_channel_num) == false, in touch_matrix_create()
128 …e = (te_dev_t **)calloc(matrix_config->x_channel_num + matrix_config->y_channel_num, sizeof(te_dev… in touch_matrix_create()
130 for (int idx = 0; idx < matrix_config->x_channel_num + matrix_config->y_channel_num; idx++) { in touch_matrix_create()
143 … ret = te_dev_init(&te_matrix->device[matrix_config->x_channel_num], matrix_config->y_channel_num, in touch_matrix_create()
156 te_matrix->y_channel_num = matrix_config->y_channel_num; in touch_matrix_create()
170 … for (int idx = 0; idx < matrix_config->x_channel_num + matrix_config->y_channel_num; idx++) { in touch_matrix_create()
189 te_dev_deinit(te_matrix->device, te_matrix->x_channel_num + te_matrix->y_channel_num); in touch_matrix_delete()
190 for (int idx = 0; idx < te_matrix->x_channel_num + te_matrix->y_channel_num; idx++) { in touch_matrix_delete()
[all …]
/hal_espressif-3.6.0/components/touch_element/test/
Dtest_touch_matrix.c90 touch_pad_t x_channel = te_matrix->device[pos_index / te_matrix->y_channel_num]->channel; in test_matrix_event_simulator()
91 …el = te_matrix->device[te_matrix->x_channel_num + (pos_index % te_matrix->y_channel_num)]->channel; in test_matrix_event_simulator()
202 .y_channel_num = MATRIX_CHANNEL_NUM_Y in test_matrix_disp_event()
244 .y_channel_num = MATRIX_CHANNEL_NUM_Y in test_matrix_disp_callback()
299 .y_channel_num = MATRIX_CHANNEL_NUM_Y in test_matrix_random_channel_trigger()
333 …button_num = channel_index_1 * matrix_config.y_channel_num + (channel_index_2 - MATRIX_CHANNEL_NUM… in test_matrix_random_channel_trigger()
361 .y_channel_num = MATRIX_CHANNEL_NUM_Y in test_matrix_event_change_lp()
403 .y_channel_num = MATRIX_CHANNEL_NUM_Y in test_matrix_callback_change_lp()
Dtest_touch_element.c302 .y_channel_num = MATRIX_CHANNEL_NUM_Y in test_integrat_btn_sld_mat()
/hal_espressif-3.6.0/components/touch_element/include/touch_element/
Dtouch_matrix.h47 uint8_t y_channel_num; //!< The number of channels in y-axis member
Dtouch_element_private.h162 uint8_t y_channel_num; //The number of touch sensor channel in y axis member
/hal_espressif-3.6.0/examples/peripherals/touch_sensor/touch_element/touch_matrix/main/
Dtouch_matrix_example_main.c104 .y_channel_num = (sizeof(y_axis_channel) / sizeof(y_axis_channel[0])) in app_main()