1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>MI_GetNDmaConfig</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">MI_GetNDmaConfig <IMG src="../../image/TWL.gif" width="24" height="12" border="0" align=middle></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD><CODE>#include <twl/mi.h></CODE><BR> 15 <BR> 16 <CODE>void MI_GetNDmaConfig( u32 ndmaNo, <A href="MINDmaConfig.html">MINDmaConfig</A> *config );</CODE> 17 </DL> 18<H2>Arguments</H2> 19<TABLE border="1" width="100%"> 20 <TBODY> 21 <TR> 22 <TD><EM><STRONG>ndmaNo</STRONG></EM></TD> 23 <TD>DMA number. Takes a value from 0 to 3.</TD> 24 </TR> 25 <TR> 26 <TD><EM><STRONG>config</STRONG></EM></TD> 27 <TD>Pointer to the <CODE><A href="MINDmaConfig.html">MINDmaConfig</A></CODE> structure to copy to.</TD> 28 </TR> 29 </TBODY> 30</TABLE> 31<H2>Return Values</H2> 32<P>None.</P> 33<H2>Description</H2> 34<P>Gets the DMA config structure of the new TWL DMA maintained internally within the MI library.</P> 35<P>Copies the DMA-related settings of the number specified in <B><I>ndmaNo</I></B> to the region indicated by <B><I>config</I></B>. You must allocate the destination region in advance.</P> 36<H2>Internal Operation</H2> 37<P>Copies the internal DMA config region using <CODE><A href="../memory/MI_CpuCopy.html">MI_CpuCopy32()</A></CODE>.</P> 38<H2>See Also</H2> 39<P><CODE><A href="MI_InitNDmaConfig.html">MI_InitNDmaConfig</A>, <A href="MI_SetNDmaConfig.html">MI_SetNDmaConfig</A><BR></CODE></P> 40<H2>Revision History</H2> 41<P>2007/09/07 Initial version.</P> 42<hr><p>CONFIDENTIAL</p></body> 43</HTML>