Loading...
Searching...
No Matches

Interface of backup battery (VBAT) monitoring. More...

Detailed Description

Interface of backup battery (VBAT) monitoring.

Author
Fabian Hüßler fabia.nosp@m.n.hu.nosp@m.essle.nosp@m.r@ov.nosp@m.gu.de

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.
 
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.