Universal USB Device Driver (USBIO)
Programming Interface
USB08 Evaluation Board
Designer Reference Manual
MOTOROLA
Universal USB Device Driver (USBIO)
151
IOCTL_USBIO_GET_DESCRIPTOR
The IOCTL_USBIO_GET_DESCRIPTOR operation requests a specific
descriptor from the device.
lpInBuffer
Pointer to a buffer that contains an USBIO_DESCRIPTOR_REQUEST
(
) data structure. This data structure has to be filled completely
by the caller.
nInBufferSize
Specifies the size, in bytes, of the buffer point to by
lpInBuffer
, which
has to be sizeof(USBIO_DESCRIPTOR_REQUEST) for this operation.
lpOutBuffer
Pointer to a buffer that will receive the descriptor data.
nOutBufferSize
Specifies the size in bytes, of the buffer pointed to be
lpOutBuffer
.
Comments
The buffer that is passed to this function in
lpOutBuffer
should be
large enough to hold the requested descriptor, otherwise only a part of
the descriptor will be returned. The size of the output buffer should be a
multiple of the packet size of the default pipe (endpoint zero).
Содержание MC68HC908JB8
Страница 2: ...blank ...
Страница 6: ...Designer Reference Manual USB08 Evaluation Board 6 List of Sections MOTOROLA List of Sections ...
Страница 16: ...Designer Reference Manual USB08 Evaluation Board 16 List of Tables MOTOROLA List of Tables ...
Страница 42: ...Designer Reference Manual USB08 Evaluation Board 42 Hardware Description MOTOROLA Hardware Description ...
Страница 88: ...Designer Reference Manual USB08 Evaluation Board 88 USB08 Descriptors MOTOROLA USB08 Descriptors ...
Страница 243: ...blank ...