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 http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<TITLE>HIO2ReadStatus</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">HIO2ReadStatus</H1>
12<H2>C Specification</H2>
13<DL>
14  <DD>
15  <PRE><CODE>
16#include &lt;revolution/hio2.h&gt;
17#define HIO2_STATUS_TX  0x00000001
18#define HIO2_STATUS_RX  0x00000002
19</CODE></PRE>
20  <DD>
21  <PRE><CODE>BOOL    HIO2ReadStatus  ( HIO2Handle handle, u32* status );</CODE></PRE>
22</DL>
23<H2>Arguments</H2>
24<TABLE border="1" cellpadding="3" cellspacing="0.1">
25  <TBODY>
26    <TR>
27<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>handle</CODE></STRONG></EM> &nbsp;&nbsp;</TD>
28      <TD width="520">Handle retrieved using the <CODE>HI02Open</CODE> function.</TD>
29    </TR>
30    <TR>
31<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>status</CODE></STRONG></EM> &nbsp;&nbsp;</TD>
32      <TD width="520" valign="top">Pointer to the buffer that stores the following interrupt statuses.<BR><CODE>HIO2_STATUS_TX</CODE> indicates that a send notification (mailbox write) has been sent from the PC to the target. &nbsp; <CODE>HIO2_STATUS_RX</CODE> indicates that a send notification (mailbox write) has been sent from the target to the PC, but the host has not read the mailbox. </TD>
33    </TR>
34  </TBODY>
35</TABLE>
36<H2>Return Values</H2>
37<P><CODE>TRUE</CODE> if the acquisition suceeds and <CODE>FALSE</CODE> if it fails.</P>
38<H2>Description</H2>
39<P>This function acquires the HIO2 device interrupt <EM><STRONG><CODE>status</CODE></STRONG></EM>.</P>
40<H2>See Also</H2>
41<H2>Revision History</H2>
42<P>03/01/2006 Initial version.</P>
43</BODY>
44</HTML>