Difference between revisions of "Unit ST77XX"
(Created page with "Return to Unit Reference === Description === ---- ''To be documented'' === Constants === ---- ''To be documented'' === Type definitions === ---- ''To...") |
|||
Line 5: | Line 5: | ||
---- | ---- | ||
− | '' | + | '''Sitronix ST77XX TFT LCD Driver unit''' |
+ | |||
+ | The ST77XX is a family of single-chip controllers/drivers for color, graphic type TFT-LCD display. | ||
+ | |||
+ | Instantiate the ST77XX driver by calling ST77XXFramebufferCreate() with the required parameters: | ||
+ | |||
+ | SPI: The SPI device that this ST77XX is connected to | ||
+ | ChipSelect: The SPI chip select to use when communicating with this device | ||
+ | Name: The text description of this device which will show in the device list (Optional) | ||
+ | Rotation: The rotation value for the framebuffer device (eg FRAMEBUFFER_ROTATION_180) | ||
+ | Width: The width of the framebuffer in pixels | ||
+ | Height: The height of the framebuffer in pixels | ||
+ | ColStart: | ||
+ | RST: GPIO pin information for the Reset pin (Optional) | ||
+ | DC: GPIO pin information for the Data/Command pin | ||
+ | BL: GPIO pin information for the Backlight pin (Optional) | ||
=== Constants === | === Constants === | ||
Line 20: | Line 35: | ||
---- | ---- | ||
− | '' | + | ''None defined'' |
=== Function declarations === | === Function declarations === |
Revision as of 05:18, 14 November 2023
Return to Unit Reference
Description
Sitronix ST77XX TFT LCD Driver unit
The ST77XX is a family of single-chip controllers/drivers for color, graphic type TFT-LCD display.
Instantiate the ST77XX driver by calling ST77XXFramebufferCreate() with the required parameters:
SPI: The SPI device that this ST77XX is connected to ChipSelect: The SPI chip select to use when communicating with this device Name: The text description of this device which will show in the device list (Optional) Rotation: The rotation value for the framebuffer device (eg FRAMEBUFFER_ROTATION_180) Width: The width of the framebuffer in pixels Height: The height of the framebuffer in pixels ColStart: RST: GPIO pin information for the Reset pin (Optional) DC: GPIO pin information for the Data/Command pin BL: GPIO pin information for the Backlight pin (Optional)
Constants
To be documented
Type definitions
To be documented
Public variables
None defined
Function declarations
To be documented
Return to Unit Reference