#include <revolution/hio2.h> #define HIO2_STATUS_TX 0x00000001 #define HIO2_STATUS_RX 0x00000002 BOOL HIO2ReadStatus ( HIO2Handle handle, u32* status );
| 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. |
TRUE if the acquisition succeeds and FALSE if it fails.
This function acquires the HIO2 device interrupt status.
None.
2006/03/01 Initial version.
CONFIDENTIAL