void EC_API_SLV_FoE_cbRegisterOpenFileHandler | ( | EC_API_SLV_SHandle_t * | pEcSlaveApi_p, |
void * | pContext_p, | ||
EC_API_SLV_FoE_CBOpenFileHandler_t | cbFunc_p | ||
) |
This is the function to register FoE open 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] | pEcSlaveApi_p | The pointer to the EtherCAT API instance. |
[in] | pContext_p | openFileHandler call context |
[in] | cbFunc_p | Function pointer to the FoE Open file Handler |