E.7.1.10 pipe, E.7.1.11 buffers, E.7.1.9 – Motorola USB08 User Manual

Page 227: E.7.1.10, Pipe, E.7.1.11, Buffers

Advertising
background image

Universal USB Device Driver (USBIO)

USBIO Demo Application

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Universal USB Device Driver (USBIO)

227

E.7.1.9 Dialog Pages for Pipe Operations

Three different types of pipe dialogs can be selected. For IN pipes a
Read from pipe to file dialog and a Read from pipe to output window
dialog can be activated. For OUT pipes a Write from file to pipe dialog
can be started. The pipe dialog Read from pipe to output window
cannot be used with isochronous pipes.

When a new pipe dialog is opened it is bound to a pipe. If the dialog is
closed the pipe is unbound. Each pipe dialog contains pipe-related and
transfer-related functions. The first three dialog pages are the same in
all pipe dialogs. The last page has a special meaning.

E.7.1.10 Pipe

By using this page it is possible to access functions Reset Pipe, Abort
Pipe, Get Pipe Parameters, and Set Pipe Parameters.

Related driver interfaces:

IOCTL_USBIO_RESET_PIPE (

page 176

)

IOCTL_USBIO_ABORT_PIPE (

page 177

)

IOCTL_USBIO_GET_PIPE_PARAMETERS (

page 178

)

IOCTL_USBIO_SET_PIPE_PARAMETERS (

page 179

)

E.7.1.11 Buffers

By means of this page the size and the number of buffers can be
selected. For Interrupt and Bulk pipes the “Size of Buffer” field is
relevant. For Isochronous pipes the “Number of Packets” field is relevant
and the required buffer size is calculated internally. In the “Max Error
Count” field a maximum number of errors can be specified. When this
number is exceeded, the data transfer is aborted. Each successful
transfer resets the error counter to zero.

Advertising