AIGetDMAStartAddr

C Specification

#include <revolution.h>
u32 AIGetDMAStartAddr(void);

Arguments

None.

Return Values

Returns the start address of the DMA that is set by the AIInitDMA (in bytes, always 32-byte aligned).

Description

The AIGetDMAStartAddr function gets the start address of the DMA that is currently being programmed as the AI DMA controller (the main memory address registered by the AIInitDMA function that was called immediately before). The unit of measure is in bytes and the address is 32-byte aligned.

The value that the AIGetDMAStartAddr function returns is the start address of the next AI DMA transaction.

See Also

AIInitDMA

Revision History

03/01/2006 Initial version.