EFR32 Blue Gecko 1 Software Documentation  efr32bg1-doc-5.1.2
retargetswo.h
Go to the documentation of this file.
1 /**************************************************************************/
17 #ifndef RETARGETSWO_H
18 #define RETARGETSWO_H
19 
20 /***************************************************************************/
25 /***************************************************************************/
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 int RETARGET_WriteChar(char c);
35 int RETARGET_ReadChar(void);
36 void RETARGET_SwoInit(void);
37 
41 #define setupSWOForPrint RETARGET_SwoInit
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.
int RETARGET_WriteChar(char c)
Transmit single byte to USART/LEUART.
void RETARGET_SwoInit(void)
Setup SWO for output.
Definition: retargetswo.c:47