Advanced energy monitor driver

AEM_TPI_ACPR
1
(0xf)
AEM_TPI_SPPR
1
(0x2)
AEM_TPI_FFCR
1
(0x100)
AEM_ITM_LAR
1
(0xc5acce55)
AEM_ITM_TCR
1
(0x10009)
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.

AEM_DWT_CTRL

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

1
(0x400113FF)