CELIS/HARDWARE/LOWPOWER/app_pwr_manage.h

27 lines
416 B
C
Raw Normal View History

2024-08-09 06:24:48 +00:00
#ifndef __app_pwr_manage_H
#define __app_pwr_manage_H
#include "stdint.h"
#include "uds_api.h"
//typedef enum
//{
// UNDER_VOLT=0,
// LOW_VOLT=1,
// NORM_VOLT=2,
// HIGH_VOLT=3,
// OVER_VOLT=4,
// VOLT_STATE_NUM,
//}PWR_BATT_VOLT_STATE_ENUM;
extern PWR_BATT_VOLT_STATE_ENUM battery_volt_state;
uint8_t ChkInputIGN1(void);
void Pwr_BatVoltRangeMonitor(void);
void BSP_BKP_Init(void);
#endif