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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>MPPortCallbackInfo_DataReceived</title> 9</head> 10 11<body> 12 13<h1>MPPortCallbackInfo_DataReceived</h1> 14 15<h2>Definitions</h2> 16<dl><dd> 17<pre><code> 18#include <revolution/mp.h> 19 20typedef struct MPPortCallbackInfo_DataReceived 21{ 22 u32 fromAid; 23 24 void* data; 25 u32 length; 26 u32 seqNo; 27} MPPortCallbackInfo_DataReceived; 28</code></pre> 29</dd></dl> 30 31<H2>Description</H2> 32<p> 33This structure is used as a member of the <A href="./MPPortCallbackInfo.html"><CODE>MPPortCallbackInfo</CODE></A> structure when the port receive callback function has been called when the port receive callback function has received data. 34</p> 35<TABLE border="1"> 36 <TBODY> 37 <tr> 38<th><strong>Member</strong></th> 39<th><strong>Description</strong></th> 40 </tr> 41 <TR> 42<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>fromAid</strong></em></td> 43<TD width="520">AID of the sender of received data.</TD> 44 </TR> 45 <TR> 46<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>data</strong></em></td> 47<TD width="520">Data that has been received.</TD> 48 </TR> 49 <TR> 50<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>length</strong></em></td> 51<TD width="520">Length of received data.</TD> 52 </TR> 53 <TR> 54<td valign="top" width="120" bgcolor="#ffffe8"><em><strong><font color="#808080">seqNo</font></strong></em></td> 55<TD width="520">Indicates the sequence number for received data for ports performing sequential communications.</TD> 56 </TR> 57 </TBODY> 58</TABLE> 59 60<h2>See Also</h2> 61<p> 62<code><a href="./MPPortCallback.html">MPPortCallback</a></code>, <code><a href="./MPPortCallbackInfo.html">MPPortCallbackInfo</a></code> 63</p> 64 65<H2>Revision History</H2> 66<p> 672007/11/28 Made revisions in conjunction with the implementation of sequential communications.<br>2006/11/28 Initial version. 68</p> 69 70<hr><p>CONFIDENTIAL</p></body> 71</html> 72