45 #define DISPLAY_EMSTATUS_OK (0)
46 #define DISPLAY_EMSTATUS_NOT_ENOUGH_MEMORY (DISPLAY_EMSTATUS_BASE | 1)
47 #define DISPLAY_EMSTATUS_OUT_OF_RANGE (DISPLAY_EMSTATUS_BASE | 2)
48 #define DISPLAY_EMSTATUS_INVALID_PARAMETER (DISPLAY_EMSTATUS_BASE | 3)
49 #define DISPLAY_EMSTATUS_NOT_SUPPORTED (DISPLAY_EMSTATUS_BASE | 4)
50 #define DISPLAY_EMSTATUS_NOT_INITIALIZED (DISPLAY_EMSTATUS_BASE | 5)
121 #ifdef EMWIN_WORKAROUND
122 unsigned int userStride,
125 DISPLAY_PixelMatrix_t *pixelMatrix
130 DISPLAY_PixelMatrix_t pixelMatrix);
135 DISPLAY_PixelMatrix_t pixelMatrix,
136 unsigned int startColumn,
138 #ifdef EMWIN_WORKAROUND
139 unsigned int userStride,
141 unsigned int startRow,
142 unsigned int height);
146 DISPLAY_PixelMatrix_t pixelMatrix,
DISPLAY_ColourMode_t colourMode
EMSTATUS DISPLAY_Init(void)
Initialize the DISPLAY module.
EMSTATUS(* pPixelMatrixClear)(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int width, unsigned int height)
EMSTATUS(* pDriverRefresh)(struct DISPLAY_Device_t *device)
EMSTATUS(* pPixelMatrixDraw)(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix, unsigned int startColumn, unsigned int width, unsigned int startRow, unsigned int height)
EMSTATUS DISPLAY_DriverRefresh(void)
Refresh all DISPLAY devices.
EMSTATUS(* pDisplayPowerOn)(struct DISPLAY_Device_t *device, bool on)
EMSTATUS(* pPixelMatrixFree)(struct DISPLAY_Device_t *device, DISPLAY_PixelMatrix_t pixelMatrix)
struct DISPLAY_Device_t DISPLAY_Device_t
EMSTATUS(* pDisplayDeviceDriverInitFunction_t)(void)
Main configuration file for the DISPLAY driver software stack.
DISPLAY_Geometry_t geometry
EMSTATUS(* pPixelMatrixAllocate)(struct DISPLAY_Device_t *device, unsigned int width, unsigned int height, DISPLAY_PixelMatrix_t *pixelMatrix)
struct DISPLAY_Geometry_t DISPLAY_Geometry_t
EMSTATUS DISPLAY_DeviceGet(int displayDeviceNo, DISPLAY_Device_t *device)
Get the display device data structure corresponding to the device number.
void * DISPLAY_PixelMatrix_t
DISPLAY_AddressMode_t addressMode