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... | |
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:
#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.
#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.
#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
*.