| uint32_t EC_API_SLV_cbRegisterUserApplicationRun | ( | EC_API_SLV_SHandle_t * | pHandle, |
| EC_API_SLV_CBUsrApplicationRun_t | cbFunc, | ||
| void * | pContext | ||
| ) |
This is the function to register a function which runs application run handler.
The callback function is called by PDI interrupt and Sync0 interrupt and therefore should not consume too much time.
| [in] | pHandle | The pointer to the EtherCAT API instance. |
| [in] | cbFunc | Function pointer to the Application Run Handler |
| [in] | pContext | Application context is composed by parameters required by the application callback |