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

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

Макросы

#define ECAT_FOE_ERRCODE_NOTDEFINED   0x8000
 Not defined. Подробнее...
 
#define ECAT_FOE_ERRCODE_NOTFOUND   0x8001
 The file requested by an FoE upload service could not be found on the server. Подробнее...
 
#define ECAT_FOE_ERRCODE_ACCESS   0x8002
 Read or write access to this file not allowed (e.g. due to local control). Подробнее...
 
#define ECAT_FOE_ERRCODE_DISKFULL   0x8003
 Disk to store file is full or memory allocation exceeded. Подробнее...
 
#define ECAT_FOE_ERRCODE_ILLEGAL   0x8004
 Illegal FoE operation, e.g. service identifier invalid. Подробнее...
 
#define ECAT_FOE_ERRCODE_PACKENO   0x8005
 FoE packet number invalid. Подробнее...
 
#define ECAT_FOE_ERRCODE_EXISTS   0x8006
 The file which is requested to be downloaded does already exist. Подробнее...
 
#define ECAT_FOE_ERRCODE_NOUSER   0x8007
 No User. Подробнее...
 
#define ECAT_FOE_ERRCODE_BOOTSTRAPONLY   0x8008
 FoE only supported in Bootstrap. Подробнее...
 
#define ECAT_FOE_ERRCODE_NOTINBOOTSTRAP   0x8009
 This file may not be accessed in BOOTSTRAP state. Подробнее...
 
#define ECAT_FOE_ERRCODE_NORIGHTS   0x800A
 Password invalid. Подробнее...
 
#define ECAT_FOE_ERRCODE_PROGERROR   0x800B
 Generic programming error. Should only be returned if error reason cannot be distinguished. Подробнее...
 
#define ECAT_FOE_ERRCODE_INVALID_CHECKSUM   0x800C
 checksum included in the file is invalid Подробнее...
 
#define ECAT_FOE_ERRCODE_INVALID_FIRMWARE   0x800D
 The hardware does not support the downloaded firmware. Подробнее...
 
#define ECAT_FOE_ERRCODE_NO_FILE   0x800F
 Do not use (identical with 0x8001) Подробнее...
 
#define ECAT_FOE_ERRCODE_NO_FILE_HEADER   0x8010
 Missing file header of error in file header. Подробнее...
 
#define ECAT_FOE_ERRCODE_FLASH_ERROR   0x8011
 Flash cannot be accessed. Подробнее...
 
#define PROTO   extern
 

Функции

UINT16 FOE_Read (UINT16 MBXMEM *pName, UINT16 nameSize, UINT16 MBXMEM *pData, UINT32 password)
 The function starts a file reading. Подробнее...
 
UINT16 FOE_Write (UINT16 MBXMEM *pName, UINT16 nameSize, UINT32 password)
 The function starts a file writing. Подробнее...
 
UINT16 FOE_Data (UINT16 MBXMEM *pData, UINT16 Size)
 The function is called to write the next part of a file. Подробнее...
 
UINT16 FOE_Ack (UINT32 fileOffset, UINT16 MBXMEM *pData)
 The function is called when the reading of a part of a file is acknowledged. Подробнее...
 
UINT16 FOE_Busy (UINT16 done, UINT32 fileOffset, UINT16 MBXMEM *pData)
 The function is called when the reading of a part of a file should be repeated. Подробнее...
 
void FOE_Error (UINT32 errorCode)
 The function is called when a file transfer is aborted from the other station. Подробнее...
 

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

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


Changes to version V5.01:
V5.12 FOE1: update new interface,move the FoE sample to sampleappl,add FoE application callback functions

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

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