Display device interface. More...
#include <stdbool.h>
#include <stdint.h>
#include "emstatus.h"
#include "displayconfigall.h"
Go to the source code of this file.
Data Structures | |
struct | DISPLAY_Geometry_t |
Display geometry specification. More... | |
struct | DISPLAY_Device_t |
Display device data structure, including a specification of how the display device behaves. More... | |
Defines | |
#define | DISPLAY_EMSTATUS_OK (0) |
EMSTATUS codes of the display interface. | |
#define | DISPLAY_EMSTATUS_NOT_ENOUGH_MEMORY (DISPLAY_EMSTATUS_BASE | 1) |
Not enough memory. | |
#define | DISPLAY_EMSTATUS_OUT_OF_RANGE (DISPLAY_EMSTATUS_BASE | 2) |
Parameters out of range. | |
#define | DISPLAY_EMSTATUS_INVALID_PARAMETER (DISPLAY_EMSTATUS_BASE | 3) |
Invalid parameter. | |
#define | DISPLAY_EMSTATUS_NOT_SUPPORTED (DISPLAY_EMSTATUS_BASE | 4) |
Feature/option not supported. | |
#define | DISPLAY_EMSTATUS_NOT_INITIALIZED (DISPLAY_EMSTATUS_BASE | 5) |
Feature/option not supported. | |
Typedefs | |
typedef void * | DISPLAY_PixelMatrix_t |
Pixel matrix handle. | |
typedef EMSTATUS(* | pDisplayDeviceDriverInitFunction_t )(void) |
Display device driver init function pointer type. | |
Enumerations | |
enum | DISPLAY_ColourMode_t { DISPLAY_COLOUR_MODE_MONOCHROME, DISPLAY_COLOUR_MODE_MONOCHROME_INVERSE } |
Display device colour modes. More... | |
enum | DISPLAY_AddressMode_t { DISPLAY_ADDRESSING_BY_ROWS_ONLY, DISPLAY_ADDRESSING_BY_ROWS_AND_COLUMNS } |
Display device address modes. More... | |
Functions | |
EMSTATUS | DISPLAY_Init (void) |
Initialize the DISPLAY module. | |
EMSTATUS | DISPLAY_DriverRefresh (void) |
Refresh all DISPLAY devices. | |
EMSTATUS | DISPLAY_DeviceGet (int displayDeviceNo, DISPLAY_Device_t *device) |
Get the display device data structure corresponding to the device number. |
Display device interface.
(C) Copyright 2014 Silicon Labs, http://www.silabs.com
This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file display.h.