PROFINET Device4.2.0
 
Loading...
Searching...
No Matches

◆ PN_APP_IOD_cbFreeRemaMem()

uint32_t PN_APP_IOD_cbFreeRemaMem ( PN_API_IOD_Handle_t *const  pnHandle,
uint8_t *const  destMem 
)

Callback function to request to clear remanent data from NV memory.

In this function, the application clears some profinet-related data from NV memory.

Parameters
[in]pnHandleProfinet API Handle.
[in]destMemPointer to a buffer where the data to be cleared.
Returns
result of the operation as uint32_t.
Return values
PN_API_OKSuccess.
PN_API_ERR_PARAMInvalid parameter.
See also
PN_API_IOD_freeRemaMemCbf