How elektronikaembedded/st7735 works
This is a portable embedded driver for ST7735 TFT displays. A platform application supplies SPI, GPIO-pin and OSAL timing implementations, initializes a driver instance, then uses its operations to initialize the panel, change rotation and draw or fill regions. The implementation owns panel command sequencing and delegates hardware access through those abstractions. The README also identifies configurable templates and an LVGL port; their behavior is not shown in the sampled source, so those links are left unverified.
Main entry points: st7735.c ST7735 driver · st7735.h Driver API · st7735_pin.h Pin interface · st7735_pin.c.example Pin template
Components 9
Driver interface
- Driver API
inc/st7735.h - Pin interface
inc/st7735_pin.h
Display runtime
- ST7735 driver
src/st7735.c
Platform ports
- SPI abstraction
- OSAL timing
- Platform GPIO
- Pin template
template/st7735_pin.c.example - LVGL port template
template/st7735_lvgl_port.c.example
Other components
- Platform application
Connections 8
- Platform application → Driver API: uses
README.md - Driver API → ST7735 driver: dispatches
src/st7735.c - ST7735 driver → SPI abstraction: writes SPI
src/st7735.c - ST7735 driver → OSAL timing: delays via
src/st7735.c - ST7735 driver → Pin interface: toggles pins
src/st7735.c - Pin interface → Platform GPIO: implemented by
- Platform application → Pin template: configures from
- Platform application → LVGL port template: may integrate