Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
aem.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2018 Bas Stottelaar <basstottelaar@gmail.com>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
19
#include "board.h"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
28
#define AEM_DWT_CTRL (0x400113FF)
29
34
#define AEM_TPI_ACPR (0xf)
35
#define AEM_TPI_SPPR (0x2)
36
#define AEM_TPI_FFCR (0x100)
43
#define AEM_ITM_LAR (0xc5acce55)
44
#define AEM_ITM_TCR (0x10009)
53
void
aem_init
(
void
);
54
55
#ifdef __cplusplus
56
}
57
#endif
58
aem_init
void aem_init(void)
Initialize the advanced energy monitor.
Generated on Thu Jul 24 2025 16:03:56 by
1.9.1