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