#include <nitro/card.h>
static inline void CARD_WriteAndVerifyFlashAsync(
u32 dst, const void *src, u32 len, MIDmaCallback callback, void *arg);
dst | The FLASH address of the transfer destination. |
src | Transfer source memory address. |
len | Byte length of data being written. |
callback | Completion callback function. Specify NULL if this is unnecessary.This callback is called from within the interrupt handler. |
arg | Arguments to pass to the completion callback function. This is simply ignored if NULL was specified for callback . |
None.
This function asynchronously writes data to the FLASH device, and executes a comparison on that written data. This function immediately returns control. Use the CARD_WaitBackupAsync
function to wait for processing to end. To determine the processing result, call the CARD_GetResultCode
function after processing has ended.
CARD_LockBackup
function.CARD_GetThreadPriority
function for more information on this thread.CARD_WriteFlashSector
, when necessary.CARD_IsBackupFlash, CARD_WaitBackupAsync, CARD_GetResultCode, CARD_ReadFlash, CARD_WriteFlash, CARD_VerifyFlash, CARD_WriteAndVerifyFlash, CARD_GetThreadPriority
2007/11/13 Added a note regarding the fact that some high-capacity flash devices cannot use this function.
2005/06/01 Added a statement indicating that callback is called from interrupt handler.
2004/12/09 Changed "IO processor" to "ARM7 processor".
2004/11/02 Revised links.
2004/08/23 Initial version.
CONFIDENTIAL