TinyGPU
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ST7789Driver8080ESP32< RGB_T > Class Template Reference

Driver for ST7789 8-bit parallel display controller, driven via ESP32's LCD_CAM/I80 or PARLIO peripheral (see DisplayDriverParallel8ESP32). More...

#include <DisplayDriverParallel8ESP32.h>

Inheritance diagram for ST7789Driver8080ESP32< RGB_T >:
Inheritance graph
[legend]
Collaboration diagram for ST7789Driver8080ESP32< RGB_T >:
Collaboration graph
[legend]

Public Member Functions

 ST7789Driver8080ESP32 (int8_t d0, int8_t d1, int8_t d2, int8_t d3, int8_t d4, int8_t d5, int8_t d6, int8_t d7, int8_t wr, int8_t dc, int8_t cs, size_t width=240, size_t height=320, uint32_t pclkHz=20000000)
 
bool begin () override
 
- Public Member Functions inherited from DisplayDriverParallel8ESP32< RGB_T >
 DisplayDriverParallel8ESP32 (int8_t d0, int8_t d1, int8_t d2, int8_t d3, int8_t d4, int8_t d5, int8_t d6, int8_t d7, int8_t wr, int8_t dc, int8_t cs, size_t width=240, size_t height=320, uint32_t pclkHz=20000000)
 
void end () override
 
 ~DisplayDriverParallel8ESP32 () override
 
size_t width () const override
 
size_t height () const override
 
bool writeData (ISurface< RGB_T > &surface) override
 
bool writeData (ISurface< RGB_T > &surface, size_t x, size_t y) override
 
- Public Member Functions inherited from DisplayDriver< RGB_T >
virtual ~DisplayDriver ()=default
 
virtual bool begin ()=0
 
virtual void end ()
 
virtual bool writeData (ISurface< RGB_T > &surface)=0
 
virtual bool writeData (ISurface< RGB_T > &surface, size_t x, size_t y)=0
 
virtual void setRotation (DisplayRotation rotation)
 
virtual size_t width () const =0
 
virtual size_t height () const =0
 
void writeColor (size_t width, size_t height, RGB_T color)
 

Additional Inherited Members

- Protected Member Functions inherited from DisplayDriverParallel8ESP32< RGB_T >
bool beginBus ()
 
bool writeCommand (uint8_t cmd, const uint8_t *param=nullptr, size_t len=0)
 
bool writeCommand (uint8_t cmd, std::initializer_list< uint8_t > data)
 
bool setAddressWindow (size_t x, size_t y, size_t w, size_t h) override
 
virtual bool setAddressWindow (size_t x, size_t y, size_t w, size_t h)=0
 
- Protected Attributes inherited from DisplayDriverParallel8ESP32< RGB_T >
int8_t d_ [8]
 
int8_t wr_
 
int8_t dc_
 
int8_t cs_
 
size_t width_
 
size_t height_
 
uint32_t pclkHz_
 
esp_lcd_panel_io_handle_t io_ = nullptr
 
esp_lcd_i80_bus_handle_t bus_ = nullptr
 
uint8_t * scratch_ = nullptr
 
size_t scratchCapacity_ = 0
 
volatile bool colorTransPending_ = false
 
- Protected Attributes inherited from DisplayDriver< RGB_T >
Font5x7< RGB_T > defaultFont
 
- Static Protected Attributes inherited from DisplayDriverParallel8ESP32< RGB_T >
static constexpr uint8_t kCmdRamWrite = 0x2C
 

Detailed Description

template<typename RGB_T = RGB565>
class tinygpu::ST7789Driver8080ESP32< RGB_T >

Driver for ST7789 8-bit parallel display controller, driven via ESP32's LCD_CAM/I80 or PARLIO peripheral (see DisplayDriverParallel8ESP32).

Constructor & Destructor Documentation

◆ ST7789Driver8080ESP32()

ST7789Driver8080ESP32 ( int8_t  d0,
int8_t  d1,
int8_t  d2,
int8_t  d3,
int8_t  d4,
int8_t  d5,
int8_t  d6,
int8_t  d7,
int8_t  wr,
int8_t  dc,
int8_t  cs,
size_t  width = 240,
size_t  height = 320,
uint32_t  pclkHz = 20000000 
)
inline

Member Function Documentation

◆ begin()

bool begin ( )
inlineoverridevirtual

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