Host I/O(HIO2) API Function List

Host Communication

HIO2Init Initializes HIO2 functions.
HIO2Exit Ends HIO2 functions.
HIO2EnumDevices Enumerates the connected HIO2 devices.
HIO2Open Opens the specified device.
HIO2Close Closes the channel controlled by the handle.
HIO2Read Reads data (synchronous function).
HIO2ReadAsync Reads data (asynchronous function).
HIO2Write Writes data (synchronous function).
HIO2WriteAsync Writes data (asynchronous function).
HIO2ReadMailbox Reads the contents written to the mailbox.
HIO2WriteMailbox Writes data to the mailbox.
HIO2ReadStatus Obtains the interrupt status of the HIO2 device.
HIO2GetDeviceType Gets the EXI device type assigned to the handle.
HIO2GetLastError Gets the last error code that was generated while an HIO2 function was executing.

Types and Structures

HIO2Handle Stores EXI-USB interface information.
HIO2DevicePath Stores the EXI-USB interface device path. Only for hosts.
HIO2DeviceType Stores the EXI-USB interface device type. Only for targets.

Callback Functions

HIO2EnumCallback Called during device enumeration.
HIO2ReceiveCallback Called when a send notification from a connected party is detected.
HIO2DmaCallback Called when the reads by HIO2ReadAsync or the writes by HIO2WriteAsync have ended.
HIO2DisconnectCallback Callback function called when the device is disconnected.
HIO2NotifyCallback Called when HIO2Open is called for a device being used by another process.




CONFIDENTIAL