AIGetDMAStartAddr

Syntax

#include <revolution/ai.h>

u32 AIGetDMAStartAddr(void);

Arguments

None.

Return Values

Returns the start address of the DMA that is set for the AI DMA controller (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

2006/03/01 Initial version.


CONFIDENTIAL