EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
DISPLAY_Device_t Struct Reference

Detailed Description

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

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

DISPLAY_ColourMode_t DISPLAY_Device_t::colourMode

Colour mode of the display device.

Definition at line 110 of file display.h.

DISPLAY_Geometry_t DISPLAY_Device_t::geometry

Geometry of the display device.

Definition at line 109 of file display.h.

char* DISPLAY_Device_t::name

Name of the display device.

Definition at line 108 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 114 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 153 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 119 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 145 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 134 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 129 of file display.h.


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