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

2 years ago
  1. #pragma once
  2. #include <stdbool.h>
  3. #include <stdint.h>
  4. #include "board/board.h"
  5. #include "znordic.h"
  6. void BoardBattery_init();
  7. void BoardBattery_load();
  8. void BoardBattery_unload();
  9. int16_t BoardBattery_get_adc_val();
  10. int16_t BoardBattery_get_battery_level(); // 0->100
  11. int16_t BoardBattery_get_charging_state();
  12. int16_t BoardBattery_sence_gpio_init_before_sleep();
  13. int16_t BoardBattery_selfTest();