#include <nitro/card.h>
static inline BOOL CARD_VerifyEeprom(
u32 dst,
const void *src,
u32 len);
This function compares the EEPROM device data to the specified memory.
This function returns a value of TRUE if the process succeeds, and returns a value of FALSE if the process fails. To obtain the detailed result value when the process fails, call the CARD_GetResultCode function.
Before using this function, you must lock the access bus using the CARD_LockBackup function. This function does not return control until the process is complete.
This function communicates internally with the IO processor via PXI. Note that the process will not be completed unless the PXI interrupt is enabled.
src |
Comparison source memory address. |
dst |
Comparison destination EEPROM address. |
len |
Length of the comparison data in bytes. |
The function returns a value of TRUE if the process completes successfully and the data matches. Otherwise, it returns a value of FALSE.
CARD_GetResultCode,
CARD_IsBackupEeprom
CARD_VerifyEepromAsync
CARD_ReadEeprom
CARD_WriteEeprom
CARD_WriteAndVerifyEeprom
08/31/2004 Added the description for the CARD_GetResultCode function function.
08/18/2004 Added the description for the PXI interrupt
07/28/2004 Initial version