display.h File Reference

Display device interface.

Version
5.5.0

License

Copyright 2015 Silicon Labs, Inc. 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 .

#include <stdbool.h>
#include <stdint.h>
#include " emstatus.h "
#include " displayconfigall.h "

Data Structures

struct DISPLAY_Device_t
struct DISPLAY_Geometry_t

Macros

#define DISPLAY_EMSTATUS_INVALID_PARAMETER ( DISPLAY_EMSTATUS_BASE | 3)
#define DISPLAY_EMSTATUS_NOT_ENOUGH_MEMORY ( DISPLAY_EMSTATUS_BASE | 1)
#define DISPLAY_EMSTATUS_NOT_INITIALIZED ( DISPLAY_EMSTATUS_BASE | 5)
#define DISPLAY_EMSTATUS_NOT_SUPPORTED ( DISPLAY_EMSTATUS_BASE | 4)
#define DISPLAY_EMSTATUS_OK (0)
#define DISPLAY_EMSTATUS_OUT_OF_RANGE ( DISPLAY_EMSTATUS_BASE | 2)

Typedefs

typedef enum DISPLAY_AddressMode_t DISPLAY_AddressMode_t
typedef enum DISPLAY_ColourMode_t DISPLAY_ColourMode_t
typedef struct DISPLAY_Device_t DISPLAY_Device_t
typedef struct DISPLAY_Geometry_t DISPLAY_Geometry_t
typedef void * DISPLAY_PixelMatrix_t
typedef EMSTATUS(* pDisplayDeviceDriverInitFunction_t ) (void)

Enumerations

enum DISPLAY_AddressMode_t {
DISPLAY_ADDRESSING_BY_ROWS_ONLY ,
DISPLAY_ADDRESSING_BY_ROWS_AND_COLUMNS
}
enum DISPLAY_ColourMode_t {
DISPLAY_COLOUR_MODE_MONOCHROME ,
DISPLAY_COLOUR_MODE_MONOCHROME_INVERSE ,
DISPLAY_COLOUR_MODE_RGB_3BIT
}

Functions

EMSTATUS DISPLAY_DeviceGet (int displayDeviceNo, DISPLAY_Device_t *device)
Get the display device data structure corresponding to the device number.
EMSTATUS DISPLAY_DriverRefresh (void)
Refresh all DISPLAY devices.
EMSTATUS DISPLAY_Init (void)
Initialize the DISPLAY module.