#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 HI02Open function. |
status |
Pointer to the buffer that stores the following interrupt statuses.HIO2_STATUS_TX indicates that a send notification (mailbox write) has been sent from the PC to the target. 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 suceeds and FALSE if it fails.
This function acquires the HIO2 device interrupt status.
03/01/2006 Initial version.