ECAT_Slave_in_ПЧ2П_c402  0.8
Реализация EtherCAT Slave для CM TMS320F28388D
#include "objdef.h"
#include "ecatappl.h"
Граф включаемых заголовочных файлов для coeappl.h:
Граф файлов, в которые включается этот файл:

См. исходные тексты.

Структуры данных

struct  OBJ_STRUCT_PACKED_START
 0x1600 (csp/csv RxPDO) data structure Подробнее...
 

Макросы

#define CHECK_DC_OVERRUN_IN_MS   4000
 cycle time in ms to check the DC system time for overrun Подробнее...
 
#define PROTO   extern
 

Определения типов

typedef struct OBJ_STRUCT_PACKED_START TOBJ1018
 0x1018 (Identity) object structure Подробнее...
 
typedef struct OBJ_STRUCT_PACKED_START TOBJ1C00
 0x1C00 (Sync manager type) object structure Подробнее...
 

Функции

void COE_UpdateSyncErrorStatus (void)
 Update the Sync Error Indication. Подробнее...
 
void COE_ObjInit (void)
 This function initialize the several objects. Подробнее...
 
void COE_Main (void)
 is called for background calculations which should not influence the ECAT_Application in synchronous modes Подробнее...
 
UINT16 COE_ObjDictionaryInit (void)
 This function initialize the object dictionary. Подробнее...
 
UINT16 COE_AddObjectToDic (TOBJECT OBJMEM *pNewObjEntry)
 This function adds an object to the object dictionary. Подробнее...
 
void COE_RemoveDicEntry (UINT16 index)
 This function removes an object to the object dictionary. Подробнее...
 
void COE_ClearObjDictionary (void)
 This function clear the object dictionary. Подробнее...
 
OBJCONST TOBJECT OBJMEMCOE_GetObjectDictionary (void)
 returns the pointer to the object dictionary Подробнее...
 
void COE_SyncTimeStamp (void)
 This function updates the local time stamp object (0x10F8) and has to be called at least every 4.2sec to detect an 32Bit DC unit overrun. Called from the Timer handler. Подробнее...
 

Переменные

PROTO UINT64 u64Timestamp
 
PROTO UINT32 u32LastDc32Value
 
PROTO UINT32 u32CheckForDcOverrunCnt
 

Подробное описание

Автор
Ether.nosp@m.catS.nosp@m.SC@be.nosp@m.ckho.nosp@m.ff.co.nosp@m.m
Версия
5.13


Changes to version V5.12:
V5.13 COE6: add 0x10F0.2 (Backup parameter changed)

Changes to version V5.11:
V5.12 COE4: add timestamp object (0x10F8) and update diagnosis handling
V5.12 ECAT5: update Sync error counter/flag handling,check enum memory alignment depending on the processor,in case of a polled timer disable ESC interrupts during DC_CheckWatchdog

Changes to version V5.01:
V5.11 ECAT10: change PROTO handling to prevent compiler errors

Changes to version - :
V5.01 : Start file change log

См. определение в файле coeappl.h