EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_EEPROM_cbRegisterWrite()

uint32_t EC_API_SLV_EEPROM_cbRegisterWrite ( EC_API_SLV_SHandle_t pHandle,
EC_API_SLV_CBEepromWrite_t  cbFunc,
void *  pContext 
)

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]pHandleSlave API Handle Instance
[in]cbFuncStore EEPROM Callback
[in]pContexteepWrite call context
Returns
ErrorCode API Error Code
Example
#include <theHeader.h>
// required variables
uint32_t retVal = 0;
void* pvVariable = NULL;
// the Call
retVal = theFunction(pvVariable);
See also
EC_API_SLV_EEPROM_cbRegisterRead
Examples
ecSubDeviceCiA402.c.