E.6.1 Cusbio Class; Usbio Class Library; Cusbio Class - Motorola USB08 Reference Manual

Universal serial bus evaluation board using the mc68hc908jb8
Table of Contents

Advertisement

Universal USB Device Driver (USBIO)
E.6 USBIO Class Library

E.6.1 CUsbIo Class

Designer Reference Manual
220
The USBIO Class Library (USBIOLIB) contains classes which provide
wrapper functions for all of the features supported by the USBIO
programming interface. Using these classes in an application is more
convenient than using the USBIO interface directly. The classes are
designed to be capable of being extended. In order to meet the
requirements of a particular application new classes may be derived
from the existing ones. The class library is provided fully in source code.
Figure E-4
shows the classes included in the USBIOLIB and their
relations.
CUsbIo
CUsbIoPipe
CUsbIoThread
CUsbIoReader
Figure E-4. USBIO Class Library
The class CUsbIo implements the basic interface to the USBIO device
driver. It includes all functions that are related to an USBIO device
object. Thus, by using an instance of the CUsbIo class all operations
which do not require a pipe context can be performed.
The CUsbIo class supports device enumeration and an Open function
that is used to connect an instance of the class to an USBIO device
object. The handle that represents the connection is stored inside the
class instance. It is used for all subsequent requests to the device.
Universal USB Device Driver (USBIO)
CUsbIoBuf
CUsbIoWriter
CUsbIoBufPool
USB08 Evaluation Board
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908jb8

Table of Contents