EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
display.h File Reference

Detailed Description

Display device interface.

Version
5.1.1

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"

Go to the source code of this file.

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
}
 

Functions

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