#include <nitro/card.h>
static inline BOOL CARD_WriteAndVerifyEeprom(
u32 dst,
const void *src,
u32 len );
This function writes data to an EEPROM device and compares the written data.
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 |
Transfer source memory address. |
dst |
Transfer destination EEPROM address. |
len |
Length of the transfer 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_WriteAndVerifyEepromAsync, CARD_ReadEeprom,
CARD_WriteEeprom,
CARD_VerifyEeprom
08/31/2004 Added the description for the CARD_GetResultCode function.
08/18/2004 Added description for the PXI interrupt
07/28/2004 Initial version