DisplayDriver<RGB565> wrapping the stm32f723-disco library's LCD class - the library owns the panel's init sequence and pixel output entirely (STM32Cube BSP driving the STM32F723's FMC peripheral), so this class is a thin adapter rather than a bus-level driver like DisplayDriverSPI/QSPI/DSI. Fixed 240x240 resolution - the panel is square, so width()/height() don't change with orientation.
More...
#include <LCDBoardsSTM32F723Discovery.h>
DisplayDriver<RGB565> wrapping the stm32f723-disco library's LCD class - the library owns the panel's init sequence and pixel output entirely (STM32Cube BSP driving the STM32F723's FMC peripheral), so this class is a thin adapter rather than a bus-level driver like DisplayDriverSPI/QSPI/DSI. Fixed 240x240 resolution - the panel is square, so width()/height() don't change with orientation.
Byte order: LCD::drawRGBImage() expects the conventional (native) RGB565 bit layout - like DisplayDriverSDL's SDL texture upload, this is the opposite of TinyGPU's own stored (SPI-wire-swapped) byte order (see RGB565.h), so writeData() swaps into a scratch buffer before calling drawRGBImage() rather than mutating the surface.
◆ DisplayDriverSTM32F723Discovery()
◆ begin()
◆ height()
◆ lcd()
Direct access to the underlying stm32f723::LCD instance - e.g. for displayOn()/displayOff() or the library's own text/shape drawing, which this driver doesn't wrap.
◆ setAddressWindow()
| bool setAddressWindow |
( |
size_t |
x, |
|
|
size_t |
y, |
|
|
size_t |
w, |
|
|
size_t |
h |
|
) |
| |
|
inlineoverrideprotectedvirtual |
◆ width()
Current addressable panel width/height in pixels - for a driver that supports setRotation(), these reflect the current rotation (landscape vs portrait swaps them; see isLandscapeFamily()), not necessarily the panel's native/physical orientation. Callers that need to lay out content (e.g. OutputTinyGPU's scale_to_fit target, or clearScreen()'s band loop) should read these fresh rather than caching their own copy, so a setRotation() call is picked up automatically without needing separate bookkeeping.
Implements DisplayDriver< RGB565 >.
◆ writeData() [1/2]
◆ writeData() [2/2]
The documentation for this class was generated from the following file: