Searched refs:x_channel_num (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.4.0/components/touch_element/ |
D | touch_matrix.c | 115 matrix_config->x_channel_num > 1 && in touch_matrix_create() 116 matrix_config->x_channel_num < TOUCH_PAD_MAX && in touch_matrix_create() 120 …TE_CHECK(te_object_check_channel(matrix_config->x_channel_array, matrix_config->x_channel_num) == … in touch_matrix_create() 128 …te_matrix->device = (te_dev_t **)calloc(matrix_config->x_channel_num + matrix_config->y_channel_nu… 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() 138 ret = te_dev_init(&te_matrix->device[0], matrix_config->x_channel_num, TOUCH_ELEM_TYPE_MATRIX, 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() 155 te_matrix->x_channel_num = matrix_config->x_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() [all …]
|
/hal_espressif-3.4.0/components/touch_element/test/ |
D | test_touch_matrix.c | 91 …touch_pad_t y_channel = te_matrix->device[te_matrix->x_channel_num + (pos_index % te_matrix->y_cha… in test_matrix_event_simulator() 201 .x_channel_num = MATRIX_CHANNEL_NUM_X, in test_matrix_disp_event() 243 .x_channel_num = MATRIX_CHANNEL_NUM_X, in test_matrix_disp_callback() 298 .x_channel_num = MATRIX_CHANNEL_NUM_X, in test_matrix_random_channel_trigger() 335 …button_num = channel_index_2 * matrix_config.x_channel_num + (channel_index_1 - MATRIX_CHANNEL_NUM… in test_matrix_random_channel_trigger() 360 .x_channel_num = MATRIX_CHANNEL_NUM_X, in test_matrix_event_change_lp() 402 .x_channel_num = MATRIX_CHANNEL_NUM_X, in test_matrix_callback_change_lp()
|
D | test_touch_element.c | 301 .x_channel_num = MATRIX_CHANNEL_NUM_X, in test_integrat_btn_sld_mat()
|
/hal_espressif-3.4.0/components/touch_element/include/touch_element/ |
D | touch_matrix.h | 46 uint8_t x_channel_num; //!< The number of channels in x-axis member
|
D | touch_element_private.h | 161 uint8_t x_channel_num; //The number of touch sensor channel in x axis member
|
/hal_espressif-3.4.0/examples/peripherals/touch_sensor/touch_element/touch_matrix/main/ |
D | touch_matrix_example_main.c | 103 .x_channel_num = (sizeof(x_axis_channel) / sizeof(x_axis_channel[0])), in app_main()
|