#include <nitro/card.h>
static inline BOOL CARD_VerifyFlash(u32 dst, const void *src, u32 len);
This function compares the data of the FLASH device with the designated memory. This function will not return the control until the processing has completed.
This function returns a value of TRUE if the process completes correctly and the data is consistent. Otherwise, a value of FALSE is returned To obtain the detailed result value when the process fails, call the CARD_GetResultCode function.
When using this function, the access bus must be locked in advance using the CARD_LockBackup function.
This function performs communications internally with the I/O processor through PXI. Be aware that the process will not complete if the PXI interrupt is not valid.
dst |
The FLASH address of the comparison target |
src |
The memory address of the comparison source |
len |
The byte length of the data to be compared |
Returns a value of TRUE if the processing completes correctly and the data is consistent. Otherwise, a value of FALSE is returned.
CARD_GetResultCode,
CARD_IsBackupFlash,
CARD_VerifyFlashAsync,
CARD_ReadFlash,
CARD_WriteFlash,
CARD_WriteAndVerifyFlash
08/31/2004 Added the description for the CARD_GetResultCode function.
08/23/2004 Revised the links due to changes to the function
08/18/2004 Initial Version