EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
textdisplay.c File Reference

Detailed Description

Provide stdio retargeting to the text display interface.

Version
5.1.1

License

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.c.

#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "displayconfigall.h"
#include "display.h"
#include "textdisplay.h"

Go to the source code of this file.

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...