| uint32_t EC_API_SLV_FoE_cbRegisterCloseFileHandler | ( | EC_API_SLV_SHandle_t * | pHandle, |
| EC_API_SLV_FoE_CBCloseFileHandler_t | cbFunc, | ||
| void * | pContext | ||
| ) |
This is the function to register FoE close function.
This function registers a function pointer which must be implemented by the user. The user defined function will be called if a file read or write request is received from the master.
| [in] | pHandle | The pointer to the EtherCAT API instance. |
| [in] | cbFunc | cbFunc Function pointer to the FoE Close file Handler |
| [in] | pContext | closeFileHandler call context |