# CTRDG_WriteAgbSramAsync

## Syntax

      #include <nitro/ctrdg.h>

      void CTRDG_WriteAgbSramAsync(u32 dst, const void* src, u32 size, CTRDG_TASK_FUNC callback);

## Arguments

dst | Destination SRAM address (address on the AGB memory map).
src | Source work area address.
size | Size of data to be written in bytes.
callback | Callback function called when write processing ends.

## Return Values

None.

## Description

Asynchronously writes data of the size given by size into the SRAM destination address given by dst from the work area address specified by src.

The access cycle setting is created in the function and does not need to be set in advance.

Note: The cartridge bus is locked for a set period by this function.
Note that the AGB backup device cannot be accessed normally with IS-NITRO-DEBUGGER version 1.66 or earlier.

## See Also

`CTRDG_WriteAgbSram`

## Revision History

2006/05/25 Added a description that the AGB backup device cannot be accessed normally with IS-NITRO-DEBUGGER version 1.66 or earlier.
2006/04/07 Initial version.

CONFIDENTIAL