| void EC_API_SLV_cbRegisterUserApplicationMainLoop | ( | EC_API_SLV_SHandle_t * | pEcSlaveApi_p, |
| void * | pContext_p, | ||
| EC_API_SLV_CBUsrApplicationMainLoop_t | cbFunc_p, | ||
| void * | pApplContext_p | ||
| ) |
This is the function to register a function which runs application mainloop 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 | Mainloop call context |
| [in] | cbFunc_p | Function pointer to the Application MainLoop Handler |
| [in] | pApplContext_p | Application context is composed by parameters required by the application callback |