39 lines
777 B
C
39 lines
777 B
C
/*
|
|
******************************************************************************
|
|
*
|
|
* @file bat.h
|
|
* @brief bat module
|
|
*
|
|
*
|
|
* @version 1.0
|
|
* @date 2023/05/12 09:59:40
|
|
* @author Alex Xu
|
|
*
|
|
* Copyright (c) 2013-2099,Tkplusemi Technology Co.,Ltd.
|
|
* All Rights Reserved
|
|
*
|
|
* History:
|
|
* Revision Date Author Desc
|
|
* 1.0.0 2023/07/12 Alex build this file
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef __BAT_H__
|
|
#define __BAT_H__
|
|
|
|
#include "define.h"
|
|
extern idata uint8_t bat_level;
|
|
extern bit F_batlevel_low; //µç³ØµÍѹ
|
|
|
|
#if BAT_VALUE
|
|
|
|
|
|
extern bit F_batlevel_protect; //µÍµç±£»¤
|
|
|
|
extern void check_bat_level(void);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|