EtherCAT Slave  1.06.01

◆ EC_API_SLV_EEPROM_cbRegisterWrite()

void EC_API_SLV_EEPROM_cbRegisterWrite ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_CBEepromWrite_t  cbFunc_p 
)

Register a function lo store the eeprom content.

If the EEPROM content is stored permanently, then the DTK Stack requires a function to write the content.

Parameters
[in]pEcSlaveApi_pSlave API Handle Instance
[in]pContext_pStore EEPROM Callback context
[in]cbFunc_pStore EEPROM Callback
Example
#include <theHeader.h>
// required variables
uint32_t retVal = 0;
void* pvVariable = NULL;
// the Call
retVal = theFunction(pvVariable);
See also
EC_API_SLV_EEPROM_cbRegisterLoad
Examples
ecSlvCiA402.c.