Designer Reference Manual
USB08 Evaluation Board
208
Universal USB Device Driver (USBIO)
MOTOROLA
Universal USB Device Driver (USBIO)
USBIO_PIPE_PARAMETERS
The USBIO_PIPE_PARAMETERS structure contains pipe specific
parameter settings of the USBIO driver.
Definition
typedef struct _USBIO_PIPE_PARAMETERS{
ULONG Flags;
} USBIO_PIPE_PARAMETERS;
Member
Flags
This field contains zero or the following value.
USBIO_SHORT_TRANSFER_OK
If this flag is set, the USBIO driver does not return an error during
read operations from a Bulk or Interrupt pipe if a packet received
from the device is shorter than the maximum packet size of the
endpoint. Otherwise, a short packet causes an error condition.
This option is meaningful for IN pipes only.
Comments
This structure is intended to be used with
IOCTL_USBIO_GET_PIPE_PARAMETERS (
) and
IOCTL_USBIO_SET_PIPE_PARAMETERS (
) operations.
The default setting of this parameter can be changed by means of the
registry parameter
ShortTransferOk
. This parameter has an effect
only for read operations from Bulk or Interrupt pipes. For Isochronous
pipes the flags in the appropriate ISO data structures are used (see
USBO_ISO_TRANSFER (
)).