32#include <soc/gpio_num.h>
int readBattmon(void)
Read and return the battery voltage.
Definition hdw-battmon.c:102
void initBattmon(gpio_num_t gpio)
Initialize a oneshot analog-to-digital unit to read the battery voltage.
Definition hdw-battmon.c:50
void deinitBattmon(void)
Deinitialize the analog-to-digital unit used to read the battery voltage.
Definition hdw-battmon.c:83