7 #ifdef USE_ESP32_VARIANT_ESP32S3 13 #include "esp_lcd_panel_ops.h" 15 #include "esp_lcd_panel_rgb.h" 18 namespace rpi_dpi_rgb {
20 constexpr
static const char *
const TAG =
"rpi_dpi_rgb";
25 void setup()
override;
97 #endif // USE_ESP32_VARIANT_ESP32S3
void set_enable_pin(GPIOPin *enable_pin)
void set_hsync_pulse_width(uint16_t hsync_pulse_width)
void reset_display_() const
InternalGPIOPin * data_pins_[16]
void set_hsync_back_porch(uint16_t hsync_back_porch)
uint16_t hsync_front_porch_
void set_color_mode(display::ColorOrder color_mode)
void draw_pixels_at(int x_start, int y_start, int w, int h, const uint8_t *ptr, display::ColorOrder order, display::ColorBitness bitness, bool big_endian, int x_offset, int y_offset, int x_pad) override
void set_de_pin(InternalGPIOPin *de_pin)
uint16_t vsync_pulse_width_
int get_height_internal() override
void set_reset_pin(GPIOPin *reset_pin)
void set_offsets(int16_t offset_x, int16_t offset_y)
uint16_t hsync_back_porch_
InternalGPIOPin * de_pin_
display::ColorOrder color_mode_
int get_height() override
void set_hsync_front_porch(uint16_t hsync_front_porch)
uint16_t hsync_pulse_width_
void add_data_pin(InternalGPIOPin *data_pin, size_t index)
void set_vsync_pin(InternalGPIOPin *vsync_pin)
uint16_t vsync_front_porch_
void set_width(uint16_t width)
void set_dimensions(uint16_t width, uint16_t height)
void set_pclk_frequency(uint32_t pclk_frequency)
int get_width_internal() override
float get_setup_priority() const override
void dump_config() override
InternalGPIOPin * pclk_pin_
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
void set_vsync_pulse_width(uint16_t vsync_pulse_width)
void set_vsync_back_porch(uint16_t vsync_back_porch)
uint16_t vsync_back_porch_
InternalGPIOPin * vsync_pin_
void set_pclk_pin(InternalGPIOPin *pclk_pin)
display::DisplayType get_display_type() override
void set_hsync_pin(InternalGPIOPin *hsync_pin)
Implementation of SPI Controller mode.
void set_vsync_front_porch(uint16_t vsync_front_porch)
InternalGPIOPin * hsync_pin_
void set_pclk_inverted(bool inverted)
void set_invert_colors(bool invert_colors)
esp_lcd_panel_handle_t handle_
void draw_pixel_at(int x, int y, Color color) override
display::ColorOrder get_color_mode()