#include <stdbool.h>
#include <stdint.h>
#include "../inc/hw_types.h"
#include "../inc/hw_memmap.h"
#include "../inc/hw_aon_batmon.h"
#include "debug.h"
Functions | |
static void | AONBatMonEnable (void) |
Enable the temperature and battery monitoring. More... | |
static void | AONBatMonDisable (void) |
Disable the temperature and battery monitoring. More... | |
int32_t | AONBatMonTemperatureGetDegC (void) |
Get the current temperature measurement as a signed value in Deg Celsius. More... | |
static uint32_t | AONBatMonBatteryVoltageGet (void) |
Get the battery monitor measurement. More... | |
static bool | AONBatMonNewBatteryMeasureReady (void) |
Check if battery monitor measurement has changed. More... | |
static bool | AONBatMonNewTempMeasureReady (void) |
Check if temperature monitor measurement has changed. More... | |