#include <nitro/card.h>
static inline BOOL CARD_VerifyFlash(u32 dst, const void *src, u32 len);
dst | The FLASH address of the comparison target |
src | Memory address of comparison source. |
len | Byte length of data to be compared. |
TRUE if the process succeeds and the data are the same. FALSE otherwise.
This function compares the data of the FLASH device with the designated memory. The function does not return control until it has finished processing. If the process succeeds and the data matches, the function returns TRUE. Otherwise, it returns FALSE. To get the detailed result value when the process fails, call the CARD_GetResultCode
function. In order to use this function, you must first lock the access bus with the CARD_LockBackup
function.
This function communicates with the ARM7 processor internally via PXI.
The process will not end if PXI interrupts are not enabled.
CARD_GetResultCode
, CARD_IsBackupFlash
, CARD_VerifyFlashAsync
, CARD_ReadFlash
, CARD_WriteFlash
, CARD_WriteAndVerifyFlash
12/09/2004 Changed "IO processor" to " ARM7 processor".
08/31/2004 Added description of the CARD_GetResultCode
function.
08/23/2004 Revised links due to changes to the function.
08/18/2004 Initial version.