49 #ifndef __AON_BATMON_H__
50 #define __AON_BATMON_H__
65 #include <inc/hw_types.h>
66 #include <inc/hw_memmap.h>
67 #include <inc/hw_aon_batmon.h>
174 __STATIC_INLINE uint32_t
177 uint32_t ui32CurrentBattery;
286 #endif // __AON_BATMON_H__
static void AONBatMonEnable(void)
Enable the temperature and battery monitoring.
static bool AONBatMonNewBatteryMeasureReady(void)
Check if battery monitor measurement has changed.
static void AONBatMonDisable(void)
Disable the temperature and battery monitoring.
int32_t AONBatMonTemperatureGetDegC(void)
Get the current temperature measurement as a signed value in Deg Celsius.
static uint32_t AONBatMonBatteryVoltageGet(void)
Get the battery monitor measurement.
static bool AONBatMonNewTempMeasureReady(void)
Check if temperature monitor measurement has changed.