Both_Way_Comm_SY8833/TP3310_Demo.si4project/Backup/discharge_module(1717).h

39 lines
992 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_HICCUP_TIM 10
#define NTC_PROTECT_TEMP 1500
extern uint8_t Boost_Protect_Type;
extern bit gBoost_Prepared_Flag; //Boost满足开启条件。
extern bit gBoost_Opened_Flag; //Boost已正常开启。
//extern void Boost_Init(void);
extern void DisCharge_Boost_Protect_Handle(void);
extern void DisCharge_Handler(void);
#endif
#endif