EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
bsp_trace.h File Reference

Detailed Description

SWO Trace API (for eAProfiler)

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

#include "em_device.h"
#include <stdint.h>
#include <stdbool.h>
#include "em_msc.h"
#include "traceconfig.h"

Go to the source code of this file.

Functions

__STATIC_INLINE void BSP_TraceProfilerEnable (bool enable)
 Set or clear word in user page which enables or disables SWO in BSP_TraceProfilerSetup. If BSP_TraceProfilerEnable(false) has been run, no example project will enable SWO trace. More...
 
bool BSP_TraceProfilerSetup (void)
 Profiler configuration. More...
 
void BSP_TraceSwoSetup (void)
 Configure trace output for energyAware Profiler. More...