#include <nitro/card.h>
BOOL CARD_WriteEeprom(
u32 dst,
const void *src,
u32 len );
This function writes data to an EEPROM device.
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 the process fails, call the CARD_GetResultCode function.
Before using this function, you must lock the access bus using the CARD_LockBackup function.
This function does not return control until the process is complete.
This function communicates internally with the IO processor via PXI. Note that the process will not be completed unless the PXI interrupt is enabled.
dst |
Transfer destination EEPROM address |
src |
Transfer source memory address |
len |
Length of write data (in bytes) |
Returns TRUE if the process succeeds. Otherwise returns FALSE.
CARD_GetResultCode,
CARD_IsBackupEeprom,
CARD_WriteEepromAsync,
CARD_ReadEeprom,
CARD_VerifyEeprom,
CARD_WriteAndVerifyEeprom
11/02/2004 Corrected a link.
08/31/2004 Added description for the CARD_GetResultCode function.
08/18/2004 Added description for 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