CARD_VerifyEeprom

C Specification

#include <nitro/card.h>

static inline BOOL CARD_VerifyEeprom(u32 dst, const void *src, u32 len);

Arguments

dst Comparison destination EEPROM address.
src Memory address of comparison source
len Byte length of data being compared

Return Values

TRUE if the process succeeds and the data are the same. FALSE otherwise.

Description

This function compares the EEPROM device data to the specified memory. This function does not return control until it has finished processing.
If the process succeeds and the data are verified to be the same, the function returns TRUE. Otherwise, it returns FALSE.
If the process fails, call the CARD_GetResultCode function to get the result value details.

In order to use this function, you must first lock the access bus with the CARD_LockBackup function.

Note that this function internally communicates with the ARM7 via PXI.
The process will not end if PXI interrupts are not enabled.

See Also

CARD_GetResultCode, CARD_IsBackupEeprom CARD_VerifyEepromAsync CARD_ReadEeprom CARD_WriteEeprom CARD_WriteAndVerifyEeprom

Revision History

12/09/2004 Changed "IO processor" to "ARM7 processor."
08/31/2004 Added the description for the CARD_GetResultCode function.
08/18/2004 Added the description for the PXI interrupt.
07/28/2004 Initial version.