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
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/hio2.h&gt;
16
17#define HIO2_STATUS_TX  0x00000001
18#define HIO2_STATUS_RX  0x00000002
19
20BOOL    HIO2ReadStatus  ( HIO2Handle handle, u32* status );
21</pre></dd></dl>
22
23<H2>Arguments</H2>
24<TABLE class="arguments" border="1" >
25  <TBODY>
26    <TR>
27<TH>handle</TH>
28<TD>Handle retrieved using the <CODE>HIO2Open</CODE> function.</TD>
29    </TR>
30    <TR>
31<TH>status</TH>
32<TD>Pointer to the buffer that stores the interrupt status; see below.<BR>&nbsp; <CODE>HIO2_STATUS_TX</CODE> indicates that a send notification (mailbox write) has been sent from the target to the PC.<BR>&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
37<H2>Return Values</H2>
38<P><CODE>TRUE</CODE> if the acquisition succeeds and <CODE>FALSE</CODE> if it fails.</P>
39
40<H2>Description</H2>
41<P>This function acquires the HIO2 device interrupt <SPAN class="argument">status</SPAN>.</P>
42
43<H2>See Also</H2>
44<P>None.</P>
45
46<H2>Revision History</H2>
47<P>
482006/03/01 Initial version.<br>
49</P>
50
51<hr><p>CONFIDENTIAL</p></body>
52</HTML>