1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<title>AIGetDMAStartAddr</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META name="GENERATOR" content="Microsoft FrontPage 5.0">
9<META http-equiv="Content-Style-Type" content="text/css">
10</head>
11
12<body>
13
14<h1 align="left">AIGetDMAStartAddr</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/ai.h&gt;
19
20u32 AIGetDMAStartAddr(void);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<p>None.</p>
25
26<h2>Return Values</h2>
27<p>Returns the start address of the DMA that is set for the AI DMA controller (in bytes, always 32-byte aligned).</p>
28
29<h2>Description</h2>
30<p>The <code>AIGetDMAStartAddr</code> 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 <code>AIInitDMA</code> function that was called immediately before). The unit of measure is in bytes and the address is 32-byte aligned.</p>
31<p>The value that the <code>AIGetDMAStartAddr</code> function returns is the start address of the next AI DMA transaction.</p>
32
33<h2>See Also</h2>
34<P class="reference">
35<a href="AIInitDMA.html">AIInitDMA</a>
36</P>
37
38<H2>Revision History</H2>
39<P>
402006/03/01 Initial version.<br>
41</P>
42
43<hr><p>CONFIDENTIAL</p></body>
44</html>
45