DISPLAY_Device_t Struct ReferenceKit Drivers > Display
Display device data structure, including a specification of how the display device behaves.
Definition at line
100
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
104
of file
display.h
.
DISPLAY_ColourMode_t DISPLAY_Device_t::colourMode |
Colour mode of the display device.
Definition at line
103
of file
display.h
.
DISPLAY_Geometry_t DISPLAY_Device_t::geometry |
Geometry of the display device.
Definition at line
102
of file
display.h
.
char* DISPLAY_Device_t::name |
Name of the display device.
Definition at line
101
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
107
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
146
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
112
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
138
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
127
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
122
of file
display.h
.
The documentation for this struct was generated from the following file:
-
C:/cygwin/home/caamunds/work/super/hardware/kit/common/drivers/
display.h