46 lines
958 B
C
46 lines
958 B
C
/*
|
|
******************************************************************************
|
|
*
|
|
* @file discharge_module.h
|
|
* @brief discharge 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 __DISCHARGE_MODULE_H__
|
|
#define __DISCHARGE_MODULE_H__
|
|
|
|
#include "define.h"
|
|
|
|
#if DISCHARGE_ENABLE
|
|
|
|
#define BOOST_OPEN_TIM 10
|
|
|
|
extern bit gBoost_Prepared_Flag; //Boost满足开启条件。
|
|
extern bit gBoost_Opened_Flag; //Boost已正常开启。
|
|
|
|
#ifndef BOOST_AOUT
|
|
|
|
extern void DisCharge_Boost_Open(void);
|
|
extern void DisCharge_Boost_Close(void);
|
|
|
|
#endif
|
|
|
|
extern void DisCharge_Handler(void);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|