![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include "ultibo/globaltypes.h"#include "ultibo/globalconst.h"#include "ultibo/framebuffer.h"#include "ultibo/gpio.h"#include "ultibo/spi.h"Go to the source code of this file.
Data Structures | |
| struct | _TFT_FRAMEBUFFER |
Macros | |
| #define | TFT_FRAMEBUFFER_FRAME_RATE_DEFAULT 20 |
| Default frame rate of 20 frames per second refresh. | |
Typedefs | |
| typedef struct _TFT_FRAMEBUFFER | TFT_FRAMEBUFFER |
| typedef uint32_t STDCALL(* | tft_framebuffer_initialize_proc) (TFT_FRAMEBUFFER *framebuffer, FRAMEBUFFER_PROPERTIES *defaults) |
| typedef uint32_t STDCALL(* | tft_framebuffer_deinitialize_proc) (TFT_FRAMEBUFFER *framebuffer) |
| typedef uint32_t STDCALL(* | tft_framebuffer_get_defaults_proc) (TFT_FRAMEBUFFER *framebuffer, FRAMEBUFFER_PROPERTIES *properties, FRAMEBUFFER_PROPERTIES *defaults) |
| typedef uint32_t STDCALL(* | tft_framebuffer_set_write_address_proc) (TFT_FRAMEBUFFER *framebuffer, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2) |
| typedef uint32_t STDCALL(* | tft_framebuffer_write_memory_proc) (TFT_FRAMEBUFFER *framebuffer, size_t address, uint32_t size) |
Functions | |
| uint32_t STDCALL | tft_framebuffer_allocate (FRAMEBUFFER_DEVICE *framebuffer, FRAMEBUFFER_PROPERTIES *properties) |
| Implementation of FramebufferDeviceAllocate API for TFT Framebuffer. | |
| uint32_t STDCALL | tft_framebuffer_release (FRAMEBUFFER_DEVICE *framebuffer) |
| Implementation of FramebufferDeviceRelease API for TFT Framebuffer. | |
| uint32_t STDCALL | tft_framebuffer_mark (FRAMEBUFFER_DEVICE *framebuffer, uint32_t x, uint32_t y, uint32_t width, uint32_t height, uint32_t flags) |
| Implementation of FramebufferDeviceMark API for TFT Framebuffer. | |
| uint32_t STDCALL | tft_framebuffer_commit (FRAMEBUFFER_DEVICE *framebuffer, size_t address, uint32_t size, uint32_t flags) |
| Implementation of FramebufferDeviceCommit API for TFT Framebuffer. | |
| void STDCALL | tft_framebuffer_update_display (TFT_FRAMEBUFFER *framebuffer) |
| Timer function for display dirty region redraw. | |
| #define TFT_FRAMEBUFFER_FRAME_RATE_DEFAULT 20 |
Default frame rate of 20 frames per second refresh.
TFTFramebuffer specific constants
| typedef struct _TFT_FRAMEBUFFER TFT_FRAMEBUFFER |
TFTFramebuffer specific types
| typedef uint32_t STDCALL(* tft_framebuffer_initialize_proc) (TFT_FRAMEBUFFER *framebuffer, FRAMEBUFFER_PROPERTIES *defaults) |
TFTFramebuffer Device Methods
| typedef uint32_t STDCALL(* tft_framebuffer_deinitialize_proc) (TFT_FRAMEBUFFER *framebuffer) |
| typedef uint32_t STDCALL(* tft_framebuffer_get_defaults_proc) (TFT_FRAMEBUFFER *framebuffer, FRAMEBUFFER_PROPERTIES *properties, FRAMEBUFFER_PROPERTIES *defaults) |
| typedef uint32_t STDCALL(* tft_framebuffer_set_write_address_proc) (TFT_FRAMEBUFFER *framebuffer, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2) |
| typedef uint32_t STDCALL(* tft_framebuffer_write_memory_proc) (TFT_FRAMEBUFFER *framebuffer, size_t address, uint32_t size) |
| uint32_t STDCALL tft_framebuffer_allocate | ( | FRAMEBUFFER_DEVICE * | framebuffer, |
| FRAMEBUFFER_PROPERTIES * | properties ) |
Implementation of FramebufferDeviceAllocate API for TFT Framebuffer.
TFTFramebuffer Functions
| uint32_t STDCALL tft_framebuffer_release | ( | FRAMEBUFFER_DEVICE * | framebuffer | ) |
Implementation of FramebufferDeviceRelease API for TFT Framebuffer.
| uint32_t STDCALL tft_framebuffer_mark | ( | FRAMEBUFFER_DEVICE * | framebuffer, |
| uint32_t | x, | ||
| uint32_t | y, | ||
| uint32_t | width, | ||
| uint32_t | height, | ||
| uint32_t | flags ) |
Implementation of FramebufferDeviceMark API for TFT Framebuffer.
| uint32_t STDCALL tft_framebuffer_commit | ( | FRAMEBUFFER_DEVICE * | framebuffer, |
| size_t | address, | ||
| uint32_t | size, | ||
| uint32_t | flags ) |
Implementation of FramebufferDeviceCommit API for TFT Framebuffer.
| void STDCALL tft_framebuffer_update_display | ( | TFT_FRAMEBUFFER * | framebuffer | ) |
Timer function for display dirty region redraw.