HIO2 API Description

Introduction

The HIO2 library carries out communications between NDEV and the PC using the USB interface (COM port) built into the NDEV.

Memory space accessible from the PC is used as a communications data buffer (shared memory). Memory space provided separately from shared memory (mail box) is used to carry out communications as notification. Shared memory size is 8KB (defined by HIO2_BUFFER_SIZE) located between addresses 0x0000 through 0x1FFF.

A callback function for receiving data is registered so that applications can detect data sent from a connected party.

We prepared sample programs that demonstrate how to use the HIO2 library under the path ./build/demos/hio2demo/. API function declarations are in the ./include/revolution/nand.h header file.

Revision History

05/29/2006 Initial version.