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

#include <rpisensehat.h>

Data Fields

FRAMEBUFFER_DEVICE framebuffer
I2C_DEVICEi2c
 The I2C device the device is connected to.
uint32_t width
 Framebuffer Width in Pixels (Virtual).
uint32_t height
 Framebuffer Height in Pixels (Virtual).
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.
LONGBOOL blank
 If True then display is currently blanked.
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).
uint8_t gamma [32]
 Current gamma values.
uint8_t gammauser [32]
 User gamma values.
uint16_t pixeldata [64]
 Pixel data for framebuffer update.
uint8_t blockdata [193]
 Block data for display update.

Field Documentation

◆ framebuffer

FRAMEBUFFER_DEVICE framebuffer

◆ i2c

I2C_DEVICE* i2c

The I2C device the device is connected to.

◆ width

uint32_t width

Framebuffer Width in Pixels (Virtual).

◆ height

uint32_t height

Framebuffer Height in Pixels (Virtual).

◆ 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.

◆ blank

LONGBOOL blank

If True then display is currently blanked.

◆ 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).

◆ gamma

uint8_t gamma[32]

Current gamma values.

◆ gammauser

uint8_t gammauser[32]

User gamma values.

◆ pixeldata

uint16_t pixeldata[64]

Pixel data for framebuffer update.

◆ blockdata

uint8_t blockdata[193]

Block data for display update.


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