1.3.3.1.10 PDS_IsAbleToRestore Function
C
bool PDS_IsAbleToRestore(PDS_MemId_t memoryId);
Description
This routine checks if the specified PDS file or directory can be restored from non-volatile memory
Parameters
Param | Description |
---|---|
memoryId | an identifier of PDS file or directory to be checked |
Returns
true, if the specified memory can be restored; false - otherwise.
C
void PDS_RegisterWriteCompleteCallback (void (*callbackFn)(PDS_MemId_t));
Description
This routine registers the callback for the Item Write completion
Parameters
Param | Description |
---|---|
callbackFn | callback which gets called after write complete |
Returns
None.
C
void PDS_RegisterUpdateMemoryCallback (bool (*callbackFn)(PDS_UpdateMemory_t *));
Description
This routine register the callback for the Item update memory. Updates BC parameters after restoring taking into account possible size
Parameters
Param | Description |
---|---|
PDS_UpdateMemory_t | PDS_UpdateMemory_t |
callbackFn | pointer to callback functions |
Returns
None.