CARD_WriteFram

C Specification

#include <nitro/card.h>

BOOL CARD_WriteFram(u32 dst, const void *src, u32 len);

Arguments

dst Transfer destination FRAM address.
src Transfer source memory address.
len Byte length of data to be written.

Return Values

TRUE if the process succeeds. FALSE otherwise.

Description

This function writes data to the FRAM device. The function does not return control until it has finished processing. It returns TRUE if the process was successful or FALSE if it failed. 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_WriteFramAsync CARD_ReadFram CARD_VerifyFram CARD_WriteAndVerifyFram

Revision History

07/05/2005 Initial version.