idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::lcd::panel::config Struct Reference

Configuration structure for LCD panels. More...

Public Attributes

gpio reset_gpio = gpio::nc()
 GPIO number for hardware reset, or idfxx::gpio::nc() if not used.
 
enum rgb_element_order rgb_element_order = rgb_element_order::rgb
 Set RGB element order, RGB or BGR.
 
rgb_data_endian data_endian = rgb_data_endian::big
 Set the data endian for color data larger than 1 byte.
 
uint32_t bits_per_pixel = 16
 Color depth, in bpp.
 
gpio::level reset_active_level = gpio::level::low
 Active level for the panel reset signal.
 
void * vendor_config = nullptr
 vendor specific configuration, optional, left as NULL if not used
 

Detailed Description

Configuration structure for LCD panels.

Definition at line 53 of file panel.hpp.

Member Data Documentation

◆ bits_per_pixel

uint32_t idfxx::lcd::panel::config::bits_per_pixel = 16

Color depth, in bpp.

Definition at line 57 of file panel.hpp.

◆ data_endian

rgb_data_endian idfxx::lcd::panel::config::data_endian = rgb_data_endian::big

Set the data endian for color data larger than 1 byte.

Definition at line 56 of file panel.hpp.

◆ reset_active_level

gpio::level idfxx::lcd::panel::config::reset_active_level = gpio::level::low

Active level for the panel reset signal.

Definition at line 58 of file panel.hpp.

◆ reset_gpio

gpio idfxx::lcd::panel::config::reset_gpio = gpio::nc()

GPIO number for hardware reset, or idfxx::gpio::nc() if not used.

Definition at line 54 of file panel.hpp.

◆ rgb_element_order

enum rgb_element_order idfxx::lcd::panel::config::rgb_element_order = rgb_element_order::rgb

Set RGB element order, RGB or BGR.

Definition at line 55 of file panel.hpp.

◆ vendor_config

void* idfxx::lcd::panel::config::vendor_config = nullptr

vendor specific configuration, optional, left as NULL if not used

Definition at line 59 of file panel.hpp.


The documentation for this struct was generated from the following file: