Searched refs:matrix_config (Results 1 – 3 of 3) sorted by relevance
107 esp_err_t touch_matrix_create(const touch_matrix_config_t *matrix_config, touch_matrix_handle_t *ma… in touch_matrix_create() argument110 TE_CHECK(matrix_handle != NULL && matrix_config != NULL, ESP_ERR_INVALID_ARG); in touch_matrix_create()111 TE_CHECK(matrix_config->x_channel_array != NULL && in touch_matrix_create()112 matrix_config->y_channel_array != NULL && in touch_matrix_create()113 matrix_config->x_sensitivity_array != NULL && in touch_matrix_create()114 matrix_config->y_sensitivity_array != NULL && in touch_matrix_create()115 matrix_config->x_channel_num > 1 && in touch_matrix_create()116 matrix_config->x_channel_num < TOUCH_PAD_MAX && in touch_matrix_create()117 matrix_config->y_channel_num > 1 && in touch_matrix_create()118 matrix_config->y_channel_num < TOUCH_PAD_MAX, in touch_matrix_create()[all …]
106 touch_matrix_config_t matrix_config = { in app_main() local114 ESP_ERROR_CHECK(touch_matrix_create(&matrix_config, &matrix_handle)); in app_main()
120 esp_err_t touch_matrix_create(const touch_matrix_config_t *matrix_config, touch_matrix_handle_t *ma…