void EC_API_SLV_cbRegisterUserApplicationRun | ( | EC_API_SLV_SHandle_t * | pEcSlaveApi_p, |
void * | pContext_p, | ||
EC_API_SLV_CBUsrApplicationRun_t | cbFunc_p, | ||
void * | pApplCtxt_p | ||
) |
This is the function to register a function which runs application run handler.
The callback function is called in MainLoop and should therefore not consume tooo much time
[in] | pEcSlaveApi_p | The pointer to the EtherCAT API instance. |
[in] | pContext_p | Application run call context |
[in] | cbFunc_p | Function pointer to the Application Run Handler |
[in] | pApplCtxt_p | Application context is composed by parameters required by the application callback |