![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <rpisensehat.h>
Data Fields | |
| FRAMEBUFFER_DEVICE | framebuffer |
| I2C_DEVICE * | i2c |
| 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. | |
| FRAMEBUFFER_DEVICE framebuffer |
| I2C_DEVICE* i2c |
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.