Display device data structure, including a specification of how the display device behaves. More...
#include <display.h>
Data Fields | |
char * | name |
Name of the display device. | |
DISPLAY_Geometry_t | geometry |
Geometry of the display device. | |
DISPLAY_ColourMode_t | colourMode |
Colour mode of the display device. | |
DISPLAY_AddressMode_t | addressMode |
Address mode of the display device. | |
EMSTATUS(* | pDisplayPowerOn )(struct DISPLAY_Device_t *device, bool on) |
Turn power on display on or off. | |
EMSTATUS(* | pPixelMatrixAllocate )(struct DISPLAY_Device_t *device, unsigned int width, unsigned int height, DISPLAY_PixelMatrix_t *pixelMatrix) |
Allocates a pixelMatrix buffer in the format specified by the geometry (DISPLAY_Geometry_t) of the display device. | |
EMSTATUS(* | pPixelMatrixFree )(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix) |
Frees a pixelMatrix buffer. | |
EMSTATUS(* | pPixelMatrixDraw )(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int startColumn, unsigned int width, unsigned int startRow, unsigned int height) |
Copies the contents of the specified pixelMatrix buffer to the display device. | |
EMSTATUS(* | pPixelMatrixClear )(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int width, unsigned int height) |
Clears a pixelMatrix buffer by setting all pixels to black. | |
EMSTATUS(* | pDriverRefresh )(struct DISPLAY_Device_t *device) |
Refreshes the display device driver after system change, like changing a clock frequency of some related device. |
Display device data structure, including a specification of how the display device behaves.
Definition at line 108 of file display.h.
char* DISPLAY_Device_t::name |
EMSTATUS(* DISPLAY_Device_t::pDisplayPowerOn)(struct DISPLAY_Device_t *device, bool on) |
EMSTATUS(* DISPLAY_Device_t::pDriverRefresh)(struct DISPLAY_Device_t *device) |
Refreshes the display device driver after system change, like changing a clock frequency of some related device.
Definition at line 155 of file display.h.
Referenced by DISPLAY_DriverRefresh().
EMSTATUS(* DISPLAY_Device_t::pPixelMatrixAllocate)(struct DISPLAY_Device_t *device, unsigned int width, unsigned int height, DISPLAY_PixelMatrix_t *pixelMatrix) |
Allocates a pixelMatrix buffer in the format specified by the geometry (DISPLAY_Geometry_t) of the display device.
EMSTATUS(* DISPLAY_Device_t::pPixelMatrixClear)(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int width, unsigned int height) |
EMSTATUS(* DISPLAY_Device_t::pPixelMatrixDraw)(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int startColumn, unsigned int width, unsigned int startRow, unsigned int height) |
EMSTATUS(* DISPLAY_Device_t::pPixelMatrixFree)(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix) |