16 lines
326 B
C
16 lines
326 B
C
#ifndef POWER_H
|
|
#define POWER_H
|
|
|
|
#include "SparkFunBQ27441/SparkFunBQ27441.h"
|
|
|
|
void bat_monitor_task(void* arg);
|
|
|
|
/// Initializes the battery gas guage for getting battery stats.
|
|
void init_power_board();
|
|
|
|
/// @brief Gets the battery voltage
|
|
/// @return battery voltage in mV.
|
|
uint16_t get_bat_voltage();
|
|
|
|
#endif /* POWER_H */
|