EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
retargetswo.c
Go to the documentation of this file.
1 /**************************************************************************/
16 #include "em_cmu.h"
17 #include "bsp_trace.h"
18 
26 int RETARGET_WriteChar(char c)
27 {
28  return ITM_SendChar(c);
29 }
30 
39 {
40  return 0;
41 }
42 
47 void RETARGET_SwoInit(void)
48 {
50 }
Clock management unit (CMU) API.
int RETARGET_ReadChar(void)
This function returns 0 always.
Definition: retargetswo.c:38
SWO Trace API (for eAProfiler)
int RETARGET_WriteChar(char c)
Output a single character on SWO.
Definition: retargetswo.c:26
void BSP_TraceSwoSetup(void)
Configure trace output for energyAware Profiler.
Definition: bsp_trace.c:98
void RETARGET_SwoInit(void)
Setup SWO for output.
Definition: retargetswo.c:47