#include <revolution/ai.h> u32 AIGetDMALength(void);
None.
Returns the DMA size (in bytes, always 32-byte aligned) as set by AI DMA controller.
The AIGetDMALength function gets the DMA length currently being programmed for the AI DMA controller (the DMA length registered by the AIInitDMA function that was called immediately before). Measured in bytes, this data is aligned on a 32-byte boundary--the same as the DMA block size.
The value that the AIGetDMALength function returns is the length of the next AI DMA transaction.
2006/03/01 Initial version.
CONFIDENTIAL