CARD_VerifyFram

C Specification

#include <nitro/card.h>

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

Arguments

dst FRAM address of comparison destination.
src Memory address of comparison source.
len Byte length of data to be compared.

Return Values

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

Description

This function compares data in the FRAM device with the specified 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.

See Also

CARD_GetResultCode CARD_IsBackupFram CARD_VerifyFramAsync CARD_ReadFram CARD_WriteFram CARD_WriteAndVerifyFram

Revision History

07/05/2005 Initial version.