EasyManua.ls Logo

Espressif ESP32-S2 - Page 320

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
ESP_OK on success
Parameters
[in] io: LCD panel IO handle, which is created by factory API like
esp_lcd_new_panel_io_spi()
esp_err_t esp_lcd_new_panel_io_spi(esp_lcd_spi_bus_handle_t bus, const
esp_lcd_panel_io_spi_config_t *io_config,
esp_lcd_panel_io_handle_t *ret_io)
Create LCD panel IO handle, for SPI interface.
Return
ESP_ERR_INVALID_ARG if parameter is invalid
ESP_ERR_NO_MEM if out of memory
ESP_OK on success
Parameters
[in] bus: SPI bus handle
[in] io_config: IO configuration, for SPI interface
[out] ret_io: Returned IO handle
esp_err_t esp_lcd_new_panel_io_i2c(esp_lcd_i2c_bus_handle_t bus, const
esp_lcd_panel_io_i2c_config_t *io_config,
esp_lcd_panel_io_handle_t *ret_io)
Create LCD panel IO handle, for I2C interface.
Return
ESP_ERR_INVALID_ARG if parameter is invalid
ESP_ERR_NO_MEM if out of memory
ESP_OK on success
Parameters
[in] bus: I2C bus handle
[in] io_config: IO configuration, for I2C interface
[out] ret_io: Returned IO handle
esp_err_t esp_lcd_new_i80_bus(const esp_lcd_i80_bus_config_t *bus_config,
esp_lcd_i80_bus_handle_t *ret_bus)
Create Intel 8080 bus handle.
Return
ESP_ERR_INVALID_ARG if parameter is invalid
ESP_ERR_NO_MEM if out of memory
ESP_ERR_NOT_FOUND if no free bus is available
ESP_OK on success
Parameters
[in] bus_config: Bus configuration
[out] ret_bus: Returned bus handle
esp_err_t esp_lcd_del_i80_bus(esp_lcd_i80_bus_handle_t bus)
Destory Intel 8080 bus handle.
Return
ESP_ERR_INVALID_ARG if parameter is invalid
ESP_ERR_INVALID_STATE if there still be some device attached to the bus
ESP_OK on success
Parameters
[in] bus: Intel 8080 bus handle, created by esp_lcd_new_i80_bus()
esp_err_t esp_lcd_new_panel_io_i80(esp_lcd_i80_bus_handle_t bus, const
esp_lcd_panel_io_i80_config_t *io_config,
esp_lcd_panel_io_handle_t *ret_io)
Create LCD panel IO, for Intel 8080 interface.
Return
ESP_ERR_INVALID_ARG if parameter is invalid
Espressif Systems 309
Submit Document Feedback
Release v4.4

Table of Contents