31 #define TM_CPU_LOAD_H 100
67 #include "stm32f4xx.h"
68 #include "stm32f4xx_rcc.h"
69 #include "stm32f4xx_pwr.h"
71 #include "tm_stm32f4_low_power.h"
72 #include "tm_stm32f4_general.h"
uint32_t SCNT
Definition: tm_stm32f4_cpu_load.h:95
float Load
Definition: tm_stm32f4_cpu_load.h:96
CPU LOAD structure.
Definition: tm_stm32f4_cpu_load.h:93
uint8_t TM_CPULOAD_Init(TM_CPULOAD_t *CPU_Load)
Initializes DWT functionality for sleep counter and prepares everything for CPU LOAD measurement...
uint8_t TM_CPULOAD_GoToSleepMode(TM_CPULOAD_t *CPU_Load, TM_LOWPOWERMODE_t PowerMode)
Goes to low power mode and measures sleeping time and working time using DWT cycle counter...
uint32_t WCNT
Definition: tm_stm32f4_cpu_load.h:94
TM_LOWPOWERMODE_t
Definition: tm_stm32f4_low_power.h:136
uint8_t Updated
Definition: tm_stm32f4_cpu_load.h:97