EFR32 Mighty Gecko 1 Software Documentation
efr32mg1-doc-5.1.2
|
Text display interface.
Copyright 2015 Silicon Labs, Inc. http://www.silabs.com
This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file textdisplay.h.
Go to the source code of this file.
Data Structures | |
struct | TEXTDISPLAY_Config_t |
Macros | |
#define | TEXTDISPLAY_EMSTATUS_ALREADY_INITIALIZED (TEXTDISPLAY_EMSTATUS_BASE | 3) |
#define | TEXTDISPLAY_EMSTATUS_INVALID_PARAM (TEXTDISPLAY_EMSTATUS_BASE | 1) |
#define | TEXTDISPLAY_EMSTATUS_NOT_ENOUGH_MEMORY (TEXTDISPLAY_EMSTATUS_BASE | 5) |
#define | TEXTDISPLAY_EMSTATUS_NOT_INITIALIZED (TEXTDISPLAY_EMSTATUS_BASE | 6) |
#define | TEXTDISPLAY_EMSTATUS_NOT_SUPPORTED (TEXTDISPLAY_EMSTATUS_BASE | 4) |
#define | TEXTDISPLAY_EMSTATUS_OK (0) |
#define | TEXTDISPLAY_EMSTATUS_OUT_OF_RANGE (TEXTDISPLAY_EMSTATUS_BASE | 2) |
Typedefs | |
typedef struct TEXTDISPLAY_Config_t | TEXTDISPLAY_Config_t |
typedef void * | TEXTDISPLAY_Handle_t |
Functions | |
EMSTATUS | TEXTDISPLAY_Delete (TEXTDISPLAY_Handle_t handle) |
Delete a text display device. More... | |
EMSTATUS | TEXTDISPLAY_LfToCrLf (TEXTDISPLAY_Handle_t handle, bool on) |
Enable or disable LF to CR+LF conversion. More... | |
EMSTATUS | TEXTDISPLAY_New (TEXTDISPLAY_Config_t *config, TEXTDISPLAY_Handle_t *handle) |
Create a new text display device. More... | |
EMSTATUS | TEXTDISPLAY_WriteChar (TEXTDISPLAY_Handle_t handle, char c) |
Write a single character to a text display. More... | |
EMSTATUS | TEXTDISPLAY_WriteString (TEXTDISPLAY_Handle_t handle, const char *str) |
Write a string of characters to a text display. More... | |