CARD_ReadEeprom


C Specification

#include <nitro/card.h>

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

Description

This function reads data synchronously from an EEPROM device.

This function does not return control until the process is complete.

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 this process fails, call the CARD_GetResultCode function.

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

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

Arguments

src Transfer source EEPROM address.
dst Transfer destination memory address.
len Length of the read data in bytes.

Return Values

Returns a value of TRUE if the process succeeds. Otherwise, a value of FALSE is returned.

See Also

CARD_GetResultCode, CARD_IsBackupEeprom, CARD_ReadEepromAsync, CARD_WriteEeprom, CARD_VerifyEeprom, CARD_WriteAndVerifyEeprom

Revision History

08/31/2004 Added the description for the CARD_GetResultCode function.
08/18/2004 Added the description regarding the PXI interrupt
07/28/2004 Modified description and added links.
07/10/2004 Removed description related to busy loop.
07/05/2004 Initial version