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_GetNDmaWordCount</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">MI_GetNDmaWordCount <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>u32 MI_GetNDmaWordCount( u32 ndmaNo );</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 to configure (0-3)</TD> 24 </TR> 25 </TBODY> 26</TABLE> 27<H2>Return Values</H2> 28<P>Returns the transfer word count for each DMA startup request.</P> 29<H2>Description</H2> 30<P>Gets the setting for the the default transfer word count when the TWL's new DMA is run.</P> 31<P>The target is the DMA specified in <B><I>ndmaNo</I></B>. This only references the DMA config structure; it does not access the I/O registers.</P> 32<P>The return values will be in between 0 and 0xFFFFFF. Indicates 0x1000000 words if 0 is returned.</P> 33<H2>See Also</H2> 34<P><CODE><A href="MI_SetNDmaWordCount.html">MI_SetNDmaWordCount()</A><BR></CODE></P> 35<H2>Revision History</H2> 36<P>2007/09/06 Initial version.</P> 37<hr><p>CONFIDENTIAL</p></body> 38</HTML>