Go to the source code of this file.
|
| HANDLE STDCALL | ipstft19_start (uint32_t rotation, char *device, uint16_t displayselect) |
| | Start the IPSTFT19 driver and Framebuffer device associated with the display.
|
| BOOL STDCALL | ipstft19_stop (HANDLE handle) |
| | Stop the IPSTFT19 driver and Framebuffer device associated with the display.
|
◆ IPSTFT19_FRAMEBUFFER_DESCRIPTION
| #define IPSTFT19_FRAMEBUFFER_DESCRIPTION "Adafruit 1.9\" IPS TFT" |
Description of IPSTFT19 device.
IPSTFT19 specific constants
◆ IPSTFT19_SIGNATURE
| #define IPSTFT19_SIGNATURE 0xAF000019 |
◆ IPSTFT19_SCREEN_WIDTH
| #define IPSTFT19_SCREEN_WIDTH 170 |
◆ IPSTFT19_SCREEN_HEIGHT
| #define IPSTFT19_SCREEN_HEIGHT 320 |
◆ IPSTFT19_COLSTART
| #define IPSTFT19_COLSTART 35 |
◆ IPSTFT19_DEFAULT_ROTATION
◆ IPSTFT19_LCD_DC
◆ IPSTFT19_LCD_RST
◆ IPSTFT19_LCD_BL
◆ IPSTFT19LCD
◆ ipstft19_start()
| HANDLE STDCALL ipstft19_start |
( |
uint32_t | rotation, |
|
|
char * | device, |
|
|
uint16_t | displayselect ) |
Start the IPSTFT19 driver and Framebuffer device associated with the display.
IPSTFT19 Functions
- Parameters
-
| Rotation | The rotation of the display (eg FRAMEBUFFER_ROTATION_180) |
| Device | The SPI device that the ST7789 device is connected to |
| DisplaySelect | The SPI chip select of the ST7789 LCD controller |
- Returns
- The handle of the IPSTFT19 on success or INVALID_HANDLE_VALUE on failure
- Note
- This function will be called during startup if the parameter IPSTFT19_AUTOSTART is True Can be called multiple times to support more than one IPSTFT LCD display
◆ ipstft19_stop()
Stop the IPSTFT19 driver and Framebuffer device associated with the display.
- Parameters
-
| Handle | The handle of the IPSTFT19 or INVALID_HANDLE_VALUE for the default display |
- Returns
- True if completed or False on failure