Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_TFT_FRAMEBUFFER Struct Reference

#include <tftframebuffer.h>

Data Fields

FRAMEBUFFER_DEVICE framebuffer
SPI_DEVICEspi
 The SPI device this Framebuffer is connected to.
uint16_t chipselect
 The SPI chip select of the device.
GPIO_INFO rst
 The GPIO information for the reset line.
GPIO_INFO dc
 The GPIO information for the data/command line.
GPIO_INFO bl
 The GPIO information for the backlight line.
tft_framebuffer_initialize_proc initialize
 A device specific Initialize method (Optional).
tft_framebuffer_deinitialize_proc deinitialize
 A device specific Deinitialize method (Optional).
tft_framebuffer_get_defaults_proc getdefaults
 A device specific GetDefaults method (Mandatory).
tft_framebuffer_set_write_address_proc setwriteaddress
 A device specific SetWriteAddress method (Mandatory).
tft_framebuffer_write_memory_proc writememory
 A device specific WriteMemory method (Mandatory).
uint32_t width
 Framebuffer Width in Pixels.
uint32_t height
 Framebuffer Height in Pixels.
uint32_t rotation
 Framebuffer Rotation (eg FRAMEBUFFER_ROTATION_180).
uint32_t dirtyy1
 First line of dirty region (or Height - 1 if none dirty).
uint32_t dirtyy2
 Last line of dirty region (or 0 if none dirty).
LONGBOOL ready
 If True timer should be enabled during Mark operation.
MUTEX_HANDLE lock
 Lock for dirty region redraw.
TIMER_HANDLE timer
 Handle for dirty region redraw timer.
uint32_t framerate
 Frame rate for display refresh (in Frames Per Second).
uint32_t transfersize
 Maximum transfer size for the SPI device (or -1 if No Maximum).

Detailed Description

TFTFramebuffer Device

Field Documentation

◆ framebuffer

FRAMEBUFFER_DEVICE framebuffer

◆ spi

SPI_DEVICE* spi

The SPI device this Framebuffer is connected to.

◆ chipselect

uint16_t chipselect

The SPI chip select of the device.

◆ rst

GPIO_INFO rst

The GPIO information for the reset line.

◆ dc

The GPIO information for the data/command line.

◆ bl

The GPIO information for the backlight line.

◆ initialize

A device specific Initialize method (Optional).

◆ deinitialize

A device specific Deinitialize method (Optional).

◆ getdefaults

A device specific GetDefaults method (Mandatory).

◆ setwriteaddress

A device specific SetWriteAddress method (Mandatory).

◆ writememory

A device specific WriteMemory method (Mandatory).

◆ width

uint32_t width

Framebuffer Width in Pixels.

◆ height

uint32_t height

Framebuffer Height in Pixels.

◆ rotation

uint32_t rotation

Framebuffer Rotation (eg FRAMEBUFFER_ROTATION_180).

◆ dirtyy1

uint32_t dirtyy1

First line of dirty region (or Height - 1 if none dirty).

◆ dirtyy2

uint32_t dirtyy2

Last line of dirty region (or 0 if none dirty).

◆ ready

LONGBOOL ready

If True timer should be enabled during Mark operation.

◆ lock

Lock for dirty region redraw.

◆ timer

TIMER_HANDLE timer

Handle for dirty region redraw timer.

◆ framerate

uint32_t framerate

Frame rate for display refresh (in Frames Per Second).

◆ transfersize

uint32_t transfersize

Maximum transfer size for the SPI device (or -1 if No Maximum).


The documentation for this struct was generated from the following file: