|
API Documentation
9.14.00
|
Display driver for printf-like output. More...
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_Object * | DisplayHost_Handle |
| typedef struct DisplayHost_HWAttrs | DisplayHost_HWAttrs |
| DisplayHost Attributes. More... | |
| typedef struct DisplayHost_Object | DisplayHost_Object |
| DisplayHost Object. More... | |
Functions | |
| void | DisplayHost_clear (Display_Handle handle) |
| void | DisplayHost_clearLines (Display_Handle handle, uint8_t fromLine, uint8_t toLine) |
| void | DisplayHost_close (Display_Handle handle) |
| int | DisplayHost_control (Display_Handle handle, unsigned int cmd, void *arg) |
| unsigned int | DisplayHost_getType (void) |
| void | DisplayHost_init (Display_Handle handle) |
| Display_Handle | DisplayHost_open (Display_Handle handle, Display_Params *params) |
| void | DisplayHost_vprintf (Display_Handle handle, uint8_t line, uint8_t column, const char *fmt, va_list va) |
Variables | |
| const Display_FxnTable | DisplayHost_fxnTable |
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.
| 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!
1.8.12