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_DmaRestart</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">MI_DmaRestart <IMG src="../../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../../image/TWL.gif" width="24" height="12" border="0" align=middle></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD><CODE>#include <nitro/mi.h></CODE><BR> 15 <BR> 16 <CODE>void MI_DmaRestart( u32 ndmaNo );</CODE> 17</DL> 18<H2>Arguments</H2> 19<TABLE border="1" width="100%"> 20 <TBODY> 21 <TR> 22 <TD width="13%"><EM><STRONG>ndmaNo</STRONG></EM></TD> 23 <TD width="87%">DMA channel (0-3)</TD> 24 </TR> 25 </TBODY> 26</TABLE> 27<H2>Return Values</H2> 28<P>None.</P> 29<H2>Description</H2> 30<P>Starts DMA once it has been configured.</P> 31<P>This function starts DMA using the configuration of the current DMA register. Specifically, it sets the enable bit of the new DMA specified by <B><I>dmaNo</I></B> to 1. Other DMA-related registers must be set in advance.</P> 32<P>DMA can be configured in advance with the <CODE><A href="MI_DmaCopy.html">MI_DmaCopy*</A>, <A href="MI_DmaFill.html">MI_DmaFill*</A>, <A href="MI_DmaClear.html">MI_DmaClear*</A>, <A href="MI_DmaSend.html">MI_DmaSend*</A>, <A href="MI_DmaRecv.html">MI_DmaRecv*</A>, and <A href="MI_DmaPipe.html">MI_DmaPipe*</A></CODE> functions whose names include "_SetUp." For details, see the various function references.</P> 33<P>Originally, this function was created to configure only the necessary registers and restart DMA after a DMA operation had completed. That is why this function includes "Restart" in its name.</P> 34<H2>Internal Operation</H2> 35<P>Uses the I/O DMA registers.</P> 36<H2>See Also</H2> 37<P><CODE><A href="MI_DmaCopy.html">MI_DmaCopy*()</A>, <A href="MI_DmaFill.html">MI_DmaFill*()</A>, <A href="MI_DmaClear.html">MI_DmaClear*()</A>, <A href="MI_DmaSend.html">MI_DmaSend*()</A>, <A href="MI_DmaRecv.html">MI_DmaRecv*()</A>, <A href="MI_DmaPipe.html">MI_DmaPipe*()</A></CODE></P> 38<H2>Revision History</H2> 39<P>2007/10/31 Initial version.</P> 40<hr><p>CONFIDENTIAL</p></body> 41</HTML>