Files

34 lines
994 B
C
Raw Permalink Normal View History

/**
* @file el9800appl.h
* @brief EL9800 应用层桩头文件 — 本项目不使用 EL9800 示例应用
*
* ecatappl.c / ecatslv.c 无条件 include 此文件。
* 本项目的应用逻辑在 dc_app.c/h 中实现。
*/
#ifndef _EL9800APPL_H_
#define _EL9800APPL_H_
#include "ecatappl.h"
#include "objdef.h"
#include "dc_app.h"
/*-----------------------------------------------------------------------------------------
------
------ Application Object Dictionary
------
------ Phase 1: 空(无应用层专用 OD 条目)。
------ Phase 3: 在此添加 DCU 专用对象(如 0x2000 传感器数据)。
------ coeappl.c 中 COE_ObjInit() 会检查此指针,NULL 则跳过。
-----------------------------------------------------------------------------------------*/
#if defined(_EL9800APPL_) && (_EL9800APPL_ == 1)
#define PROTO
#else
#define PROTO extern
#endif
PROTO TOBJECT OBJMEM * VARMEM ApplicationObjDic;
#undef PROTO
#endif /* _EL9800APPL_H_ */