DISPLAY_Device_t Struct Reference
[Display]

Display device data structure, including a specification of how the display device behaves. More...

#include <display.h>

Collaboration diagram for DISPLAY_Device_t:
Collaboration graph
[legend]

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.

Detailed Description

Display device data structure, including a specification of how the display device behaves.

Definition at line 108 of file display.h.


Field Documentation

Address mode of the display device.

Definition at line 113 of file display.h.

Colour mode of the display device.

Definition at line 112 of file display.h.

Geometry of the display device.

Definition at line 111 of file display.h.

Name of the display device.

Definition at line 110 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 116 of file display.h.

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.

Definition at line 121 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 147 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 136 of file display.h.

Frees a pixelMatrix buffer.

Definition at line 131 of file display.h.


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