|
TinyGPU
|
Driver for the Sitronix ST7701S MIPI-DSI TFT controller, as wired on the Guition JC4880P443C_I_W (ESP32-P4, 480x800 portrait, 4.3"). More...
#include <DisplayDriverDSI.h>


Public Member Functions | |
| ST7701Driver (int8_t rst, int8_t backlight, size_t width=480, size_t height=800, int8_t phyLdoChan=3, uint16_t phyLdoMv=2500) | |
| bool | begin () override |
Public Member Functions inherited from DisplayDriverDSI< RGB_T > | |
| DisplayDriverDSI (IDSIBus &bus, size_t width, size_t height) | |
| size_t | width () const override |
| size_t | height () const override |
| void | end () override |
| ~DisplayDriverDSI () 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 DisplayDriverDSI< RGB_T > | |
| bool | beginBus () |
| bool | writeCommand (uint8_t cmd, const uint8_t *param=nullptr, size_t len=0) |
| Sends one command + parameter bytes over the DSI command channel. | |
| bool | finishInit () |
| void | setBacklight (bool on) |
| void | setBacklightPin (int8_t backlight) |
| bool | setAddressWindow (size_t, size_t, size_t, size_t) override |
| virtual bool | setAddressWindow (size_t x, size_t y, size_t w, size_t h)=0 |
Protected Attributes inherited from DisplayDriverDSI< RGB_T > | |
| IDSIBus * | bus_ |
| size_t | width_ |
| size_t | height_ |
| int8_t | backlight_ = -1 |
Protected Attributes inherited from DisplayDriver< RGB_T > | |
| Font5x7< RGB_T > | defaultFont |
Driver for the Sitronix ST7701S MIPI-DSI TFT controller, as wired on the Guition JC4880P443C_I_W (ESP32-P4, 480x800 portrait, 4.3").
Init register sequence, DSI lane config (2 lanes @ 500Mbps), DPI clock (34MHz) and video timing all transcribed verbatim from guition-jc4880p4-bsp's board_p4_st7701_init.h / board_p4.c (https://github.com/ultramcu/guition-jc4880p4-bsp), which documents them as VERIFIED-ON-HARDWARE on this exact board - this class only re-expresses that same recipe as a TinyGPU DisplayDriver instead of a bespoke BSP function, it does not add or change any of the underlying values. As with every other example in this repo's esp32-p4-480x800-guition-mipi-dsi-touch-display board directory, this file itself has not been run on real hardware.
Register meanings beyond 0x11 (SLPOUT) / 0x29 (DISPON) are vendor-specific (ST7701 command-bank-switched extension registers) and undocumented beyond that source.
|
inline |
|
inlineoverridevirtual |
Implements DisplayDriver< RGB_T >.