CARD_ReadEeprom

C Specification

#include <nitro/card.h>

BOOL CARD_ReadEeprom(u32 src, void *dst, u32 len);

Arguments

src Transfer source EEPROM address.
dst Transfer destination memory address
len Byte length of data being read

Return Values

TRUE if the process succeeds. FALSE otherwise.

Description

This function reads data synchronously from an EEPROM 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_IsBackupEeprom, CARD_ReadEepromAsync, CARD_WriteEeprom, CARD_VerifyEeprom, CARD_WriteAndVerifyEeprom

Revision History

12/09/2004 Revised description: Changed "IO processor" to "ARM7"
08/31/2004 Added description for the CARD_GetResultCode function.
08/18/2004 Added description regarding the PXI interrupt
07/28/2004 Added links.
07/10/2004 Removed description related to busy loop.
07/05/2004 Initial version