Difference between revisions of "Unit ST77XX"
Line 10: | Line 10: | ||
Instantiate the ST77XX driver by calling ST77XXFramebufferCreate() with the required parameters: | Instantiate the ST77XX driver by calling ST77XXFramebufferCreate() with the required parameters: | ||
− | + | ||
SPI: The SPI device that this ST77XX is connected to | SPI: The SPI device that this ST77XX is connected to | ||
+ | |||
ChipSelect: The SPI chip select to use when communicating with this device | 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) | 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) | Rotation: The rotation value for the framebuffer device (eg FRAMEBUFFER_ROTATION_180) | ||
+ | |||
Width: The width of the framebuffer in pixels | Width: The width of the framebuffer in pixels | ||
+ | |||
Height: The height of the framebuffer in pixels | Height: The height of the framebuffer in pixels | ||
− | ColStart: | + | |
+ | ColStart: | ||
+ | |||
RST: GPIO pin information for the Reset pin (Optional) | RST: GPIO pin information for the Reset pin (Optional) | ||
+ | |||
DC: GPIO pin information for the Data/Command pin | DC: GPIO pin information for the Data/Command pin | ||
+ | |||
BL: GPIO pin information for the Backlight pin (Optional) | BL: GPIO pin information for the Backlight pin (Optional) | ||
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