www.pudn.com > ethercat-slave-source-code.rar > EtherCATSampleLibrary.h, change:2015-03-03,size:882b


/*----------------------------------------------------------------------------------------- 
------ 
------    Description 
------ 
------    EtherCATSampleLibrary.h 
------ 
------                                                                                                                                                                 ------ 
-----------------------------------------------------------------------------------------*/ 
 
 
typedef struct 
{ 
    unsigned long * pInput; 
    unsigned long * pOutput; 
     
    void (* pApplication)(void); 
    void (* pStateTrans)(unsigned short transind); 
} 
ECAT_SLAVE_INTERFACE, *pECAT_SLAVE_INTERFACE; 
 
extern pECAT_SLAVE_INTERFACE Ecat_Open(unsigned short InputSize, unsigned short OutputSize); 
 
extern void Ecat_OnTimer(void); 
 
extern void Ecat_Close(void); 
 
extern void (* pApplication)(unsigned short);