EtherCAT Slave  1.06.01

◆ EC_API_SLV_cbRegisterSystemReboot()

void EC_API_SLV_cbRegisterSystemReboot ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_CBSystemRebootHandler_t  cbFunc_p 
)

This is the function to register the Reboot function.

This function registers a function pointer which must be implemented by the user. The user defined function will be called after the firmware is correctly updated

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pContext_psystemReboot call context
[in]cbFunc_pFunction pointer to the Reboot function
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_cbRegisterSystemReboot(ecSlaveApi, ecSlaveApi, cbFunc);
EC_API_SLV_cbRegisterSystemReboot
void EC_API_SLV_cbRegisterSystemReboot(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBSystemRebootHandler_t cbFunc_p)
This is the function to register the Reboot function.
Definition: ecSlvApi_FoEStub.c:291