59 textDisplayConfig.
scrollEnable = RETARGETTEXTDISPLAY_SCROLL_MODE;
60 textDisplayConfig.
lfToCrLf = RETARGETTEXTDISPLAY_LINE_FEED_MODE;
64 #if !defined(__CROSSWORKS_ARM) && defined(__GNUC__)
68 setvbuf(stdout, NULL, _IONBF, 0);
99 if (textDisplayHandle)
118 if (textDisplayHandle)
int RETARGET_ReadChar(void)
Receive a byte No input method from the text display is possible, thus we always return -1...
Retarget stdout to text display module.
EMSTATUS RETARGET_TextDisplayInit(void)
Initialize/retarget a TEXTDISPLAY device to receivie stdout(put).
#define TEXTDISPLAY_EMSTATUS_OK
EMSTATUS TEXTDISPLAY_New(TEXTDISPLAY_Config_t *config, TEXTDISPLAY_Handle_t *handle)
Create a new text display device.
EMSTATUS TEXTDISPLAY_WriteString(TEXTDISPLAY_Handle_t handle, const char *str)
Write a string of characters to a text display.
Display device interface.
int RETARGET_WriteChar(char c)
Write a single byte to the text display.
#define DISPLAY_EMSTATUS_OK
Main configuration file for the DISPLAY driver software stack.
#define TEXTDISPLAY_EMSTATUS_NOT_INITIALIZED
void * TEXTDISPLAY_Handle_t
EMSTATUS RETARGET_WriteString(char *str)
Write a string of characters to the RETARGET text display device.
EMSTATUS TEXTDISPLAY_WriteChar(TEXTDISPLAY_Handle_t handle, char c)
Write a single character to a text display.
EMSTATUS DISPLAY_DeviceGet(int displayDeviceNo, DISPLAY_Device_t *device)
Get the display device data structure corresponding to the device number.