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>#include &lt;revolution/hio2.h&gt;
16#define HIO2_STATUS_TX  0x00000001
17#define HIO2_STATUS_RX  0x00000002</CODE></PRE>
18  <DD>
19  <PRE><CODE>BOOL    HIO2ReadStatus  ( HIO2Handle handle, u32* status );</CODE></PRE>
20</DL>
21<H2>Arguments</H2>
22<TABLE border="1" cellpadding="3" cellspacing="0.1">
23  <TBODY>
24    <TR>
25<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>handle</CODE></STRONG></EM> &nbsp;&nbsp;</TD>
26      <TD width="520">Handle retrieved using the <CODE>HI02Open</CODE> function.</TD>
27    </TR>
28    <TR>
29<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>status</CODE></STRONG></EM> &nbsp;&nbsp;</TD>
30      <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>
31    </TR>
32  </TBODY>
33</TABLE>
34<H2>Return Values</H2>
35<P><CODE>TRUE</CODE> if the acquisition suceeds and <CODE>FALSE</CODE> if it fails.</P>
36<H2>Description</H2>
37<P>This function acquires the HIO2 device interrupt <EM><STRONG><CODE>status</CODE></STRONG></EM>.</P>
38<H2>See Also</H2>
39<H2>Revision History</H2>
40<P>2006/03/01 Initial version.</P>
41<hr>
42<P>CONFIDENTIAL</p>
43</BODY>
44</HTML>