#include <revolution/hio2.h> BOOL HIO2WriteAsync ( HIO2Handle handle, u32 addr, const void* buffer, s32 size, HIO2DmaCallback callback );
| handle | Handle retrieved using the HIO2Open function. |
|---|---|
| addr | Read address of shared memory for the EXI-USB interface. Must be 4-byte aligned. |
| buffer | Pointer to the buffer that stores the data to read. Must be 32-byte aligned. |
| size | Size of the data to read. Must be a multiple of 32 bytes. |
| callback | Callback function to call when data transfer completes. |
This function returns TRUE if execution succeeds and FALSE if execution fails.
The HIO2WriteAsync function writes the amount of data size from the specified buffer to the start address addr in shared memory.
This function returns immediately and does not wait until data transfer finishes.
The specified callback function is called after all data is read.
2006/05/29 Added link to HIO2DmaCallback.
2006/03/01 Initial version.
CONFIDENTIAL