Macros
Collaboration diagram for Command Codes:

Macros

#define DISPLAY_CMD_TRANSPORT_CLOSE   0
 Command used by Display_control() to release its transport layer. More...
 
#define DISPLAY_CMD_TRANSPORT_OPEN   1
 Command used by Display_control() to resume control of its transport. More...
 
#define DISPLAYSHARP_CMD_SET_COLORS   DISPLAY_CMD_RESERVED + 0
 Command used by Display_control to invert the display. More...
 

Detailed Description

DISPLAY_CMD* macros are general command codes for Display_control(). Not all Display driver implementations support these command codes.

DISPLAYSHARP_CMD_* macros are command codes only defined in the DisplaySharp.h driver implementation and need to:

Macro Definition Documentation

§ DISPLAY_CMD_TRANSPORT_CLOSE

#define DISPLAY_CMD_TRANSPORT_CLOSE   0

Command used by Display_control() to release its transport layer.

This command will cause Display implementations that are using a potentially shared transport mechanism to close the open handle.

Methods requiring this transport will meanwhile be discarded.

With this command arg is don't care.

§ DISPLAY_CMD_TRANSPORT_OPEN

#define DISPLAY_CMD_TRANSPORT_OPEN   1

Command used by Display_control() to resume control of its transport.

This command will cause Display implementations that are using a potentially shared transport mechanism to (re-)open the closed handle.

With this command arg is don't care.

§ DISPLAYSHARP_CMD_SET_COLORS

#define DISPLAYSHARP_CMD_SET_COLORS   DISPLAY_CMD_RESERVED + 0

Command used by Display_control to invert the display.

This command allows changing the background and foreground colors from the default, depending on the value (1 - invert, 0 - don't invert) of arg

With this command arg is of type DisplaySharpColor_t *.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale