HIO2ReadStatus

Syntax

#include <revolution/hio2.h>

#define HIO2_STATUS_TX  0x00000001
#define HIO2_STATUS_RX  0x00000002

BOOL    HIO2ReadStatus  ( HIO2Handle handle, u32* status );

Arguments

handle Handle retrieved using the HIO2Open function.
status Pointer to the buffer that stores the interrupt status; see below.
  HIO2_STATUS_TX indicates that a send notification (mailbox write) has been sent from the target to the PC.
  HIO2_STATUS_RX indicates that a send notification (mailbox write) has been sent from the target to the PC, but the host has not read the mailbox.

Return Values

TRUE if the acquisition succeeds and FALSE if it fails.

Description

This function acquires the HIO2 device interrupt status.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL