2、将显示UI模块化,单独成文件displayui.c和display_ui.h; 3、将部分功能模块的状态位、标志位变量和配置参数置于congfig.h; 4、将工程程序中的TP3315字符更改SY8835。
41 lines
849 B
C
41 lines
849 B
C
/*
|
|
******************************************************************************
|
|
*
|
|
* @file discharge_module.h
|
|
* @brief discharge module
|
|
* @ic sy8835
|
|
*
|
|
* @version 1.0
|
|
* @date 2024/11/01 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 2024/11/01 Alex build this file
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef __DISCHARGE_MODULE_H__
|
|
#define __DISCHARGE_MODULE_H__
|
|
|
|
#include "define.h"
|
|
|
|
#if DISCHARGE_ENABLE
|
|
|
|
#define BOOST_OPEN_TIM 10
|
|
|
|
#if 0
|
|
extern void DisCharge_Boost_Open(void);
|
|
extern void DisCharge_Boost_Close(void);
|
|
#endif
|
|
|
|
extern void DisCharge_Handler(void);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|