DISPLAY_Device_t Struct Reference
Display device data structure, including a specification of how the display device behaves.
Definition at line 113
of file display.h
.
#include <
display.h
>
Data Fields | |
DISPLAY_AddressMode_t | addressMode |
DISPLAY_ColourMode_t | colourMode |
DISPLAY_Geometry_t | geometry |
char * | name |
EMSTATUS(* | pDisplayPowerOn )(struct DISPLAY_Device_t *device, bool on) |
EMSTATUS(* | pDriverRefresh )(struct DISPLAY_Device_t *device) |
EMSTATUS(* | pPixelMatrixAllocate )(struct DISPLAY_Device_t *device, unsigned int width, unsigned int height, DISPLAY_PixelMatrix_t *pixelMatrix) |
EMSTATUS(* | pPixelMatrixClear )(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int width, unsigned int height) |
EMSTATUS(* | pPixelMatrixDraw )(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int startColumn, unsigned int width, unsigned int startRow, unsigned int height) |
EMSTATUS(* | pPixelMatrixFree )(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix) |
Field Documentation
DISPLAY_AddressMode_t DISPLAY_Device_t::addressMode |
Address mode of the display device.
Definition at line 117
of file display.h
.
DISPLAY_ColourMode_t DISPLAY_Device_t::colourMode |
Colour mode of the display device.
Definition at line 116
of file display.h
.
DISPLAY_Geometry_t DISPLAY_Device_t::geometry |
Geometry of the display device.
Definition at line 115
of file display.h
.
char* DISPLAY_Device_t::name |
Name of the display device.
Definition at line 114
of file display.h
.
EMSTATUS(* DISPLAY_Device_t::pDisplayPowerOn) (struct DISPLAY_Device_t *device, bool on) |
Turn power on display on or off.
Definition at line 120
of file display.h
.
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 159
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.
Definition at line 125
of file display.h
.
EMSTATUS(* DISPLAY_Device_t::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.
Definition at line 151
of file display.h
.
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) |
Copies the contents of the specified pixelMatrix buffer to the display device.
Definition at line 140
of file display.h
.
EMSTATUS(* DISPLAY_Device_t::pPixelMatrixFree) (struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix) |
Frees a pixelMatrix buffer
Definition at line 135
of file display.h
.
The documentation for this struct was generated from the following file:
- C:/HandsOn/super/hardware/kit/common/drivers/
display.h