20 #if (defined( BSP_ETM_TRACE ) && defined( ETM_PRESENT )) || \
21 defined( GPIO_ROUTE_SWOPEN ) || \
22 defined( GPIO_ROUTEPEN_SWVPEN )
27 #include "traceconfig.h"
42 #if defined(BSP_ETM_TRACE) && defined( ETM_PRESENT )
43 void BSP_TraceEtmSetup(
void);
46 #if defined( GPIO_ROUTE_SWOPEN ) || defined( _GPIO_ROUTEPEN_SWVPEN_MASK )
47 bool BSP_TraceProfilerSetup(
void);
48 void BSP_TraceSwoSetup(
void);
52 #define USER_PAGE 0x0FE00000UL
62 __STATIC_INLINE
void BSP_TraceProfilerEnable(
bool enable)
65 volatile uint32_t *userpage = (uint32_t *) USER_PAGE;
71 if (data == 0xFFFFFFFF)
78 if (data == 0x00000000)
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
void MSC_Init(void)
Enables the flash controller for writing.
Flash controller (MSC) peripheral API.
MSC_RAMFUNC_DECLARATOR MSC_Status_TypeDef MSC_WriteWord(uint32_t *address, void const *data, uint32_t numBytes)
Writes data to flash memory. This function is interrupt safe, but slower than MSC_WriteWordFast(), which writes to flash with interrupts disabled. Write data must be aligned to words and contain a number of bytes that is divisable by four.
MSC_RAMFUNC_DECLARATOR MSC_Status_TypeDef MSC_ErasePage(uint32_t *startAddress)
Erases a page in flash memory.