esp_lcd_panel_gc9301.h 820 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #include <stdbool.h>
  8. #include "esp_err.h"
  9. #include "esp_lcd_panel_dev.h"
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /**
  14. * @brief Create LCD panel for model ST7789
  15. *
  16. * @param[in] io LCD panel IO handle
  17. * @param[in] panel_dev_config general panel device configuration
  18. * @param[out] ret_panel Returned LCD panel handle
  19. * @return
  20. * - ESP_ERR_INVALID_ARG if parameter is invalid
  21. * - ESP_ERR_NO_MEM if out of memory
  22. * - ESP_OK on success
  23. */
  24. esp_err_t esp_lcd_new_panel_gc9309na(const esp_lcd_panel_io_handle_t io, const esp_lcd_panel_dev_config_t *panel_dev_config, esp_lcd_panel_handle_t *ret_panel);
  25. #ifdef __cplusplus
  26. }
  27. #endif