EFM32 Pearl Gecko 12 Software Documentation  efm32pg12-doc-5.1.2
retargettft.h
1 /**************************************************************************//***
2  * @file
3  * @brief Retarget stdout to TFT
4  * @version 5.1.1
5  *******************************************************************************
6  * @section License
7  * <b>Copyright 2015 Silicon Labs, Inc. http://www.silabs.com</b>
8  *******************************************************************************
9  *
10  * This file is licensed under the Silabs License Agreement. See the file
11  * "Silabs_License_Agreement.txt" for details. Before using this software for
12  * any purpose, you must agree to the terms of that agreement.
13  *
14  ******************************************************************************/
15 #ifndef __RETARGETTFT_H
16 #define __RETARGETTFT_H
17 
18 /***************************************************************************/
23 /***************************************************************************/
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 void RETARGET_TftInit(void);
33 void RETARGET_TftCrLf(int on);
34 
35 int RETARGET_ReadChar(void);
36 int RETARGET_WriteChar(char c);
37 
38 #if defined(__CROSSWORKS_ARM)
39 int __putchar(int ch);
40 int __getchar(void);
41 #endif
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
50 #endif
int RETARGET_ReadChar(void)
Receive a byte from USART/LEUART and put into global buffer.
void RETARGET_TftCrLf(int on)
Toggle LF to CRLF conversion.
Definition: retargettft.c:68
void RETARGET_TftInit(void)
Intializes TFT text display.
Definition: retargettft.c:53
int RETARGET_WriteChar(char c)
Transmit single byte to USART/LEUART.