10 lines
346 B
C
10 lines
346 B
C
#ifndef _BSP_VBAT_H
|
|
#define _BSP_VBAT_H
|
|
|
|
u16 bsp_vbat_get_voltage(void);
|
|
void bsp_vbat_voltage_init(void);
|
|
int bsp_vbat_get_lpwr_status(void); //0: 正常电压, 1:低电提醒状态, 2:低电关机状态
|
|
void bsp_vbat_lpwr_process(void);
|
|
void bat_percent_update(void); //更新电量百分比
|
|
#endif // _BSP_VBAT_H
|