Display driver for printf-like output.
============================================================================
The header file should be included in an application as follows:
Below is an example configuration to use the HOST display.
For TIRTOS based applications, the Display_HOST interface is only callable from Task context. The Display_HOST interface is callable from any context for FreeRTOS based applications.
#include <ti/display/Display.h>
Go to the source code of this file.
Data Structures | |
struct | DisplayHost_HWAttrs |
DisplayHost Attributes. More... | |
struct | DisplayHost_Object |
DisplayHost Object. More... | |
Typedefs | |
typedef struct DisplayHost_HWAttrs | DisplayHost_HWAttrs |
DisplayHost Attributes. More... | |
typedef struct DisplayHost_Object | DisplayHost_Object |
DisplayHost Object. More... | |
typedef struct DisplayHost_Object * | DisplayHost_Handle |
Functions | |
void | DisplayHost_init (Display_Handle handle) |
Display_Handle | DisplayHost_open (Display_Handle, Display_Params *params) |
void | DisplayHost_clear (Display_Handle handle) |
void | DisplayHost_clearLines (Display_Handle handle, uint8_t fromLine, uint8_t toLine) |
void | DisplayHost_vprintf (Display_Handle handle, uint8_t line, uint8_t column, const char *fmt, va_list va) |
void | DisplayHost_close (Display_Handle) |
int | DisplayHost_control (Display_Handle handle, unsigned int cmd, void *arg) |
unsigned int | DisplayHost_getType (void) |
Variables | |
const Display_FxnTable | DisplayHost_fxnTable |
typedef struct DisplayHost_HWAttrs DisplayHost_HWAttrs |
DisplayHost Attributes.
The DisplayHost driver uses a buffer for formatting messages, which is then passed to an fwrite() function. The location and size of the buffer are specified in a DisplayHost_HWAttrs structure.
typedef struct DisplayHost_Object DisplayHost_Object |
DisplayHost Object.
The application must not access any member variables of this structure!
typedef struct DisplayHost_Object * DisplayHost_Handle |
void DisplayHost_init | ( | Display_Handle | handle | ) |
Display_Handle DisplayHost_open | ( | Display_Handle | , |
Display_Params * | params | ||
) |
void DisplayHost_clear | ( | Display_Handle | handle | ) |
void DisplayHost_clearLines | ( | Display_Handle | handle, |
uint8_t | fromLine, | ||
uint8_t | toLine | ||
) |
void DisplayHost_vprintf | ( | Display_Handle | handle, |
uint8_t | line, | ||
uint8_t | column, | ||
const char * | fmt, | ||
va_list | va | ||
) |
void DisplayHost_close | ( | Display_Handle | ) |
int DisplayHost_control | ( | Display_Handle | handle, |
unsigned int | cmd, | ||
void * | arg | ||
) |
unsigned int DisplayHost_getType | ( | void | ) |
const Display_FxnTable DisplayHost_fxnTable |