Graphic Display v1.0.0
Control any mochrome display, with any microcontroller, in any amount.
Loading...
Searching...
No Matches
gd_params_t Struct Reference

Parameters to initialize the Graphic Display Handler. More...

#include <GraphicDisplay.h>

Data Fields

void * DisplayHandle
 Handle of the display, provide the pointer of this handler. Example fort ssd1306 display:
 
gd_driver_tDisplayDriver
 Driver for the display. External Drivers Already Implemented.
 
uint32_t u32Height
 The Heigth of the display, in lines.
 
uint32_t u32Width
 The Width of the display, in columns.
 
fxnGd_mtxLock mtxLock
 mutex lock function pointer.
 
fxnGd_mtxUnlock mtxUnlock
 mutex unlock function pointer.
 

Detailed Description

Parameters to initialize the Graphic Display Handler.

Note
Used only on handler startup.

Field Documentation

◆ DisplayDriver

gd_driver_t* gd_params_t::DisplayDriver

Driver for the display. External Drivers Already Implemented.

Note
Must not be NULL.

◆ DisplayHandle

void* gd_params_t::DisplayHandle

Handle of the display, provide the pointer of this handler. Example fort ssd1306 display:

gt_t Gd; ssd1306_t Ssd1306;

... initialize ssd1306 ...

Gd.DisplayHandle = (void*)&Ssd1306;

... provide other parameters ... ... initialize display Gd ...

Note
Must not be NULL

◆ mtxLock

fxnGd_mtxLock gd_params_t::mtxLock

mutex lock function pointer.

Note
This parameter is optional.

◆ mtxUnlock

fxnGd_mtxUnlock gd_params_t::mtxUnlock

mutex unlock function pointer.

Note
This parameter is optional.

◆ u32Height

uint32_t gd_params_t::u32Height

The Heigth of the display, in lines.

Note
Must greater than 0.

◆ u32Width

uint32_t gd_params_t::u32Width

The Width of the display, in columns.

Note
Must greater than 0.

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