hal_battery.h 452 B

12345678910111213141516171819202122
  1. #ifndef __HAL_BATTERY_H__
  2. #define __HAL_BATTERY_H__
  3. /*********************************************************************
  4. * INCLUDES
  5. */
  6. #include "usr_config.h"
  7. #include "bsp_adc.h"
  8. #include "bsp_time.h"
  9. #include "system.h"
  10. /*********************************************************************
  11. * API
  12. */
  13. void Battery_Initialize(void);
  14. void Battery_Enable(bool value);
  15. uint8_t GetBatteryPersent(void);
  16. uint8_t Battery_BatteryIs_0(void);
  17. #endif