All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

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.
 

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)
 

Macro Definition Documentation

◆ AEM_DWT_CTRL

#define AEM_DWT_CTRL   (0x400113FF)

AEM specific values for the Data Watchpoint and Trace (DWT).

Definition at line 32 of file aem.h.

◆ AEM_ITM_LAR

#define AEM_ITM_LAR   (0xc5acce55)

Definition at line 47 of file aem.h.

◆ AEM_ITM_TCR

#define AEM_ITM_TCR   (0x10009)

Definition at line 48 of file aem.h.

◆ AEM_TPI_ACPR

#define AEM_TPI_ACPR   (0xf)

Definition at line 38 of file aem.h.

◆ AEM_TPI_FFCR

#define AEM_TPI_FFCR   (0x100)

Definition at line 40 of file aem.h.

◆ AEM_TPI_SPPR

#define AEM_TPI_SPPR   (0x2)

Definition at line 39 of file aem.h.

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.