You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
406 B
21 lines
406 B
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "board/board.h"
|
|
#include "znordic.h"
|
|
|
|
void BoardBattery_init();
|
|
void BoardBattery_load();
|
|
void BoardBattery_unload();
|
|
|
|
int16_t BoardBattery_get_adc_val();
|
|
int16_t BoardBattery_get_battery_level(); // 0->100
|
|
int16_t BoardBattery_get_charging_state();
|
|
|
|
int16_t BoardBattery_sence_gpio_init_before_sleep();
|
|
|
|
|
|
int16_t BoardBattery_selfTest();
|
|
|