CARD_VerifyEepromAsync


C Specification

#include <nitro/card.h>

static inline void CARD_VerifyEepromAsync( 
    u32              dst, 
    const void      *src, 
    u32              len, 
    MIDmaCallback    callback, 
    void             *arg );
    

Description

This function compares the EEPROM device data asynchronously to the specified memory.

Before using this function, you must lock the access bus using the CARD_LockBackup function.

Use the CARD_WaitBackupAsync function to wait for the process to complete.

To determine the result when complete, call the CARD_GetResultCode function.

This function returns control promptly.

This function communicates internally with the IO processor via PXI. Note that the process will not be completed unless the PXI interrupt is enabled.

Arguments

dst Comparison destination EEPROM address
src Comparison source memory address
len Length of comparison data (in bytes)
callback Callback function upon completion.
Specify NULL when not needed.
arg Argument passed to the callback function upon completion.
Ignored when the callback does not specify NULL.

Return Values

None.

Internal Operation

This function uses an internal thread to process data asynchronously.
See the description of the CARD_GetThreadPriority function for information about this thread.

See Also

CARD_IsBackupEeprom, CARD_WaitBackupAsync, CARD_GetResultCode, CARD_ReadEeprom, CARD_WriteEeprom, CARD_VerifyEeprom, CARD_WriteAndVerifyEeprom, CARD_GetThreadPriority

Revision History

11/02/2004 Corrected a link.
08/18/2004 Added the description for the PXI interrupt.
07/28/2004 Initial version.