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_Card_NDmaCopy</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">MI_Card_NDmaCopy <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_Card_NDmaCopy( u32 ndmaNo,<BR> 17 const void* src,<BR> 18 void *dest,<BR> 19 u32 size);</CODE><BR> 20 </DL> 21<H2>Arguments</H2> 22<TABLE border="1" width="100%"> 23 <TBODY> 24 <TR> 25 <TD><EM><STRONG>ndmaNo</STRONG></EM></TD> 26 <TD>DMA channel used</TD> 27 </TR> 28 <TR> 29 <TD><B><I>src</I></B></TD> 30 <TD>The transfer source address</TD> 31 </TR> 32 <TR> 33 <TD><B><I>dest</I></B></TD> 34 <TD>The transfer destination address</TD> 35 </TR> 36 <TR> 37 <TD><B><I>size</I></B></TD> 38 <TD>Transfer size</TD> 39 </TR> 40 </TBODY> 41</TABLE> 42<H2>Return Values</H2> 43<P>None.</P> 44<H2>Description</H2> 45<P>Uses the new DMA to copy using a card interrupt. DMA will run when a card interrupt occurs.</P> 46<P>It uses the new DMA to perform copies in word (4-byte) units. Both the transfer source address (<B><I>src</I></B>) and the transfer destination address (<B><I>dest</I></B>) must be 4-byte aligned. The transfer size (<em><strong><code>size</code></strong></em>) needs to be a multiple of 4.</P> 47<H2>Internal Operation</H2> 48<P>Accesses the new DMA register.</P> 49<H2>See Also</H2> 50<P><CODE><A href="MI_NDmaCopy.html">MI_NDmaCopy</A><BR></CODE></P> 51<H2>Revision History</H2> 52<P>2007/10/04 Initial version.</P> 53<hr><p>CONFIDENTIAL</p></body> 54</HTML>