1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MI_CpuPipe</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_CpuPipe* <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/mi.h&gt;</CODE><BR>
20  <BR>
21  <CODE>void MI_CpuPipe32( volatile const void* src,</CODE></dd>
22  <dd><CODE>          volatile void* dest,</CODE></dd>
23  <dd><CODE>          u32 size );</CODE></dd>
24</dl>
25<dl>
26  <dd><CODE>void MI_CpuPipe16( volatile const void* src,</CODE></dd>
27  <dd><CODE>          volatile void* dest,</CODE></dd>
28  <dd><CODE>          u32 size );</CODE></dd>
29</dl>
30<h2>Arguments</h2>
31<TABLE border="1" width="100%">
32  <TBODY>
33    <TR>
34      <TD width="13%"><EM><STRONG>src</STRONG></EM></TD>
35      <TD width="87%">The transfer source address.</TD>
36    </TR>
37    <TR>
38      <TD width="13%"><EM><STRONG>dest</STRONG></EM></TD>
39      <TD width="87%">The transfer destination address.</TD>
40    </TR>
41    <TR>
42      <TD><EM><STRONG>size</STRONG></EM></TD>
43      <TD>Transfer size.
44      </TD>
45    </TR>
46  </TBODY>
47</TABLE>
48
49<h2>Return Values</h2>
50<p>None.</p>
51
52<H2>Description</H2>
53<P>Sends data from the same address to the same address using the CPU.<BR>Repeatedly reads, writes, and sends data without changing the source or destination addresses for the transfer.</P>
54<P><CODE>MI_CpuPipe16()</CODE> transfers in 16-bit units. Both the transfer source address and the transfer destination address must be 2-byte aligned.</P>
55<P><CODE>MI_CpuPipe32()</CODE> transfers in 32-bit units. Both the transfer source address and the transfer destination address must be 4-byte aligned.</P>
56
57<h2>Internal Operation</h2>
58<P>Processing is done by the CPU only and does not use the DMA controller. System calls are not used. </P>
59
60<h2>See Also</h2>
61<p><CODE><A href="MI_CpuCopy.html">MI_CpuCopy*</A>, <A href="MI_CpuFill.html">MI_CPUFill*</A>, <A href="MI_CpuClear.html">MI_CpuClear*</A>, <A href="MI_CpuSend.html">MI_CpuSend*</A>, <A href="MI_CpuRecv.html">MI_CpuRecv*</A>, <A href="../dma/MI_DmaPipe.html">MI_DmaPipe*</A>, <A href="../ndma/MI_NDmaPipe.html">MI_NDmaPipe*</A><br></CODE></p>
62
63<H2>Revision History</H2>
64<P>2007/10/25 Initial version.</P>
65<hr><p>CONFIDENTIAL</p></body>
66</html>
67