Modules | Macros
Display_control command and status codes
Collaboration diagram for Display_control command and status codes:

Modules

 Status Codes
 
 Command Codes
 

Macros

#define DISPLAY_CMD_RESERVED   32
 
#define DISPLAY_STATUS_RESERVED   -32
 

Detailed Description

These Displaymacros are reservations for Display.h

Macro Definition Documentation

§ DISPLAY_CMD_RESERVED

#define DISPLAY_CMD_RESERVED   32

Common Display_control command code reservation offset. Display driver implementations should offset command codes with DISPLAY_CMD_RESERVED growing positively

Example implementation specific command codes:

#define DISPLAYXYZ_CMD_COMMAND0 DISPLAY_CMD_RESERVED + 0
#define DISPLAYXYZ_CMD_COMMAND1 DISPLAY_CMD_RESERVED + 1

§ DISPLAY_STATUS_RESERVED

#define DISPLAY_STATUS_RESERVED   -32

Common Display_control status code reservation offset. Display driver implementations should offset status codes with DISPLAY_STATUS_RESERVED growing negatively.

Example implementation specific status codes:

#define DISPLAYXYZ_STATUS_ERROR0 DISPLAY_STATUS_RESERVED - 0
#define DISPLAYXYZ_STATUS_ERROR1 DISPLAY_STATUS_RESERVED - 1
#define DISPLAYXYZ_STATUS_ERROR2 DISPLAY_STATUS_RESERVED - 2
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale