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
 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
 Color depth, in bpp.
 
struct { 
 
   unsigned int   reset_active_high: 1 = 0 
 Setting this if the panel reset is high level active. More...
 
flags = {} 
 LCD panel config flags.
 
void * vendor_config = nullptr
 vendor specific configuration, optional, left as NULL if not used
 

Detailed Description

Configuration structure for LCD panels.

Definition at line 36 of file panel.hpp.

Member Data Documentation

◆ bits_per_pixel

uint32_t idfxx::lcd::panel::config::bits_per_pixel

Color depth, in bpp.

Definition at line 40 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 39 of file panel.hpp.

◆ [struct]

struct { ... } idfxx::lcd::panel::config::flags

LCD panel config flags.

◆ reset_active_high

unsigned int idfxx::lcd::panel::config::reset_active_high

Setting this if the panel reset is high level active.

Definition at line 42 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 37 of file panel.hpp.

◆ rgb_element_order

enum rgb_element_order idfxx::lcd::panel::config::rgb_element_order

Set RGB element order, RGB or BGR.

Definition at line 38 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 44 of file panel.hpp.


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