Interface of backup battery (VBAT) monitoring. More...
Interface of backup battery (VBAT) monitoring.
Definition in file vbat.h.
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
int | vbat_init (void) |
Initialize backup battery monitoring. | |
int32_t | vbat_sample_mv (void) |
Sample backup battery. | |
bool | vbat_is_empty (void) |
Sample the backup battery and compare the result with the minimum value required to power the backup domain. | |