idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
color.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026 Chris Leishman
3
4#pragma once
5
13#include <esp_lcd_panel_io.h>
14
19namespace idfxx::lcd {
20
25enum class rgb_element_order : int {
26 rgb = LCD_RGB_ELEMENT_ORDER_RGB,
27 bgr = LCD_RGB_ELEMENT_ORDER_BGR,
28};
29
34enum class rgb_data_endian : int {
35 big = LCD_RGB_DATA_ENDIAN_BIG,
36 little = LCD_RGB_DATA_ENDIAN_LITTLE,
37};
38
39} // namespace idfxx::lcd
LCD driver classes.
Definition color.hpp:19
rgb_element_order
RGB element order for LCD panels.
Definition color.hpp:25
@ bgr
BGR element order.
@ rgb
RGB element order.
rgb_data_endian
RGB data endian for LCD panels.
Definition color.hpp:34
@ little
RGB data endian: LSB first.
@ big
RGB data endian: MSB first.