Usbio_pipe_configuration_info – Motorola USB08 User Manual

Page 202

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

202

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

USBIO_PIPE_CONFIGURATION_INFO

The USBIO_PIPE_CONFIGURATION_INFO structure provides
information about a pipe.

Definition

typedef struct _USBIO_PIPE_CONFIGURATION_INFO{

USBIO_PIPE_TYPE PipeType;

ULONG MaximumTransferSize;

USHORT MaximumPacketSize;

UCHAR EndpointAddress;

UCHAR Interval;

UCHAR InterfaceNumber;

UCHAR reserved1;

UCHAR reserved2;

UCHAR reserved3;

} USBIO_PIPE_CONFIGURATION_INFO;

Members

PipeType

Specifies the type of the pipe. The values are defined by the
enumeration type USBIO_PIPE_TYPE (

page 214

).

MaximumTransferSize

Specifies the maximum size, in bytes, of data transfers the USBD
supports on this pipe. This is the maximum size of buffers that can be
used with read or write operations on this pipe.

MaximumPacketSize

Specifies the maximum packet size of USB data transfers the
endpoint is capable of sending or receiving as reported by the device
in the corresponding endpoint descriptor. Refer to the Universal Serial
Bus Specification 1.1, Chapter 9 for more information.

EendpointAddress

Specifies the address of the endpoint on the USB device as reported
in the corresponding endpoint descriptor.

The endpoint address includes the direction flag at bit position 7
(MSB)

Bit 7 = 0:

OUT endpoint

Bit 7 = 1:

IN endpoint

Refer to the Universal Serial Bus Specification 1.1, Chapter 9 for more
information.

Advertising