删除 标准版4.0/mainAtbh.c
This commit is contained in:
parent
e99f24375d
commit
ce68e61c78
@ -1,97 +0,0 @@
|
|||||||
/****************************************************************************************************
|
|
||||||
* mainAtbh.c
|
|
||||||
* 描述:AT保护主文件,包含入口程序,主要模拟采样中断程序和保护中断程序
|
|
||||||
* 函数:STATUS progStart()
|
|
||||||
* void sysInit()
|
|
||||||
* void ReadSampleValue()
|
|
||||||
* void funcBH()
|
|
||||||
* void progStop()
|
|
||||||
*
|
|
||||||
*
|
|
||||||
******************************************************************************************************/
|
|
||||||
|
|
||||||
/****************************************** includes ***********************************************/
|
|
||||||
#include "..\h\predefine.h"
|
|
||||||
#ifdef _atbh_c_
|
|
||||||
|
|
||||||
#include "time.h"
|
|
||||||
|
|
||||||
/* APP relational */
|
|
||||||
#include ".\inc\atbh.h"
|
|
||||||
#include "..\h\lib.h"
|
|
||||||
#include "..\h\variable.h"
|
|
||||||
|
|
||||||
#include "..\h\com_lib.h"
|
|
||||||
#include "..\h\testDefine.h"
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include "time.h"
|
|
||||||
|
|
||||||
/**************************************** forward declarations ***************************************/
|
|
||||||
|
|
||||||
int progStart(int ErrCode);
|
|
||||||
void progStop();
|
|
||||||
void comm();
|
|
||||||
|
|
||||||
|
|
||||||
extern void Reset_Init();
|
|
||||||
extern void InitCommTable();
|
|
||||||
extern void PowerInitData(void);
|
|
||||||
extern void settingtype_init();
|
|
||||||
extern void commobjectinit();
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
* Function: progStart
|
|
||||||
* Description:入口
|
|
||||||
* Calls: none
|
|
||||||
* Called By:
|
|
||||||
* Input:
|
|
||||||
* Ouput:
|
|
||||||
* Return:
|
|
||||||
* others:
|
|
||||||
* History:
|
|
||||||
* 1.luoyang created
|
|
||||||
*
|
|
||||||
*******************************************************************************/
|
|
||||||
int progStart(int ErrCode)
|
|
||||||
{
|
|
||||||
PowerInitData(); //上电初始化
|
|
||||||
InitCommTable(); //通信初始化
|
|
||||||
settingtype_init();
|
|
||||||
commobjectinit();
|
|
||||||
|
|
||||||
InitSample(); //初始化模拟量通道相关变量
|
|
||||||
dl_open_innormal_param_init(&ATBH_dl_open_innormal_param);
|
|
||||||
|
|
||||||
digit_init(); //数字接口初始化
|
|
||||||
CHZValue.Status = CHZ_CLOSE;
|
|
||||||
Reset_Init(); //复位初始化
|
|
||||||
|
|
||||||
QdInfoShow(); //
|
|
||||||
|
|
||||||
//block_Init(); //闭锁初始化
|
|
||||||
|
|
||||||
return (OK);
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
* Function: ReadSampleValue
|
|
||||||
* Description:未使用
|
|
||||||
* Calls: none
|
|
||||||
* Called By:
|
|
||||||
* Input:
|
|
||||||
* Ouput:
|
|
||||||
* Return:
|
|
||||||
* others:
|
|
||||||
* History:
|
|
||||||
* 1.luoyang created
|
|
||||||
*
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
void progStop()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
x
Reference in New Issue
Block a user