Chapter 2. API Reference
• ESP_OK on success
Parameters
• [in]
esp_lcd_new_panel_io_spi()
esp_err_t esp_lcd_new_panel_io_spi(esp_lcd_spi_bus_handle_t
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
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
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
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
Create LCD panel IO, for Intel 8080 interface.
Return
• ESP_ERR_INVALID_ARG if parameter is invalid
Espressif Systems
io:
LCD panel IO handle,
esp_lcd_panel_io_spi_config_t
esp_lcd_panel_io_handle_t
esp_lcd_panel_io_i2c_config_t
esp_lcd_panel_io_handle_t
esp_lcd_i80_bus_handle_t
esp_lcd_panel_io_i80_config_t
esp_lcd_panel_io_handle_t
Submit Document Feedback
which is created by factory API like
*ret_io)
*ret_io)
esp_lcd_i80_bus_config_t
*ret_bus)
bus)
*ret_io)
309
bus,
const
*io_config,
bus,
const
*io_config,
*bus_config,
bus,
const
*io_config,
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?