Detailed Description

Files

file  aem.h
 Implementations of the advanced energy monitor driver.
 

Macros

#define AEM_DWT_CTRL   (0x400113FF)
 AEM specific values for the Data Watchpoint and Trace (DWT).
 

Functions

void aem_init (void)
 Initialize the advanced energy monitor. More...
 

AEM specific values for theTrace Port Interface Unit (TPIU).

#define AEM_TPI_ACPR   (0xf)
 
#define AEM_TPI_SPPR   (0x2)
 
#define AEM_TPI_FFCR   (0x100)
 

AEM specific values for the Instrumentation Trace Microcel (ITM).

#define AEM_ITM_LAR   (0xc5acce55)
 
#define AEM_ITM_TCR   (0x10009)
 

Function Documentation

◆ aem_init()

void aem_init ( void  )

Initialize the advanced energy monitor.

This must be performed as one of the first initializations, to provide output as soon as possible.