EasyManuals Logo

Espressif ESP32-S2 User Manual

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
Page #323 background imageLoading...
Page #323 background image
Chapter 2. API Reference
int lcd_param_bits
Bit-width of LCD parameter
unsigned int dc_idle_level : 1
Level of DC line in IDLE phase
unsigned int dc_cmd_level : 1
Level of DC line in CMD phase
unsigned int dc_dummy_level : 1
Level of DC line in DUMMY phase
unsigned int dc_data_level : 1
Level of DC line in DATA phase
struct esp_lcd_panel_io_i80_config_t::[anonymous] dc_levels
Each i80 device might have its own D/C control logic
unsigned int cs_active_high : 1
If set, a high level of CS line will select the device, otherwise, CS line is low level active
unsigned int reverse_color_bits : 1
Reverse the data bits, D[N:0] -> D[0:N]
unsigned int swap_color_bytes : 1
Swap adjacent two color bytes
unsigned int pclk_active_neg : 1
The display will write data lines when theres a falling edge on WR signal (a.k.a the PCLK)
unsigned int pclk_idle_low : 1
The WR signal (a.k.a the PCLK) stays at low level in IDLE phase
Type Definitions
typedef void *esp_lcd_spi_bus_handle_t
Type of LCD SPI bus handle
typedef void *esp_lcd_i2c_bus_handle_t
Type of LCD I2C bus handle
typedef struct esp_lcd_i80_bus_t *esp_lcd_i80_bus_handle_t
Type of LCD intel 8080 bus handle
typedef bool (*esp_lcd_panel_io_color_trans_done_cb_t)(esp_lcd_panel_io_handle_t
panel_io,
esp_lcd_panel_io_event_data_t
*edata, void *user_ctx)
Declare the prototype of the function that will be invoked when panel IO finishes transferring color data.
Return Whether a high priority task has been waken up by this function
Parameters
[in] panel_io: LCD panel IO handle, which is created by factory API like
esp_lcd_new_panel_io_spi()
[in] edata: Panel IO event data, fed by driver
[in] user_ctx: User data, passed from esp_lcd_panel_io_xxx_config_t
Header File
components/esp_lcd/include/esp_lcd_panel_ops.h
Functions
esp_err_t esp_lcd_panel_reset(esp_lcd_panel_handle_t panel)
Reset LCD panel.
Note Panel reset must be called before attempting to initialize the panel using esp_lcd_panel_init().
Espressif Systems 312
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish