Function
nuPiWriteSram (Macro)
Syntax
void nuPiWriteSram(u32 addr, void* buf_ptr, u32 size)
Arguments
addr SRAM address
buf_ptr pointer to the buffer
size size of data to be transferred
Description
Writes data to SRAM
Uses the PI to DMA transfer data from the buffer location in RDRAM to SRAM. The transfer destination ROM address must be 2-byte aligned. The pointer to the transfer origin buffer must be 8-byte aligned. This function is a macro for the nuPiReadWriteSram function.
See Also
nuPiInitSram, nuPiReadWriteSram, and nuPiReadSram