Universal USB Device Driver (USBIO)
Programming Interface
USB08 Evaluation Board
Designer Reference Manual
MOTOROLA
Universal USB Device Driver (USBIO)
185
in the header. Because of that, the header contains a variable size array
of USBIO_ISO_PACKET (
) elements.
The Offset member of the USBIO_ISO_PACKET structure specifies the
byte offset of the corresponding packet relative to the beginning of the
whole buffer and has to be filled by the application for write and for read
transfers. The Length member defines the length, in bytes, of the packet.
The packet length has to be specified by the application for write
transfers and is returned by the USBIO on read transfers. The Status
member is used to return the completion status of the transfer of the
packet.
Isochronous Write Transfers
The sizes of the packets have to be less than or equal to the FIFO size
of the endpoint. There must not be gaps between the data packets in
the transfer buffer. The Offset and Length member of the
USBIO_ISO_PACKET structures have to be initialized correctly
before the transfer is started.
Isochronous Read Transfers
The size of each packet should be equal to the FIFO size. Otherwise
a data overrun error can occur. The Offset member of the
USBIO_ISO_PACKET structures has to be initialized correctly before
the transfer is started. There must not be gaps between the data
packets in the transfer buffer. The length of each received data packet
is returned in the Length member of the corresponding
USBIO_ISO_PACKET structure when the transfer completes.
NOTE:
Because the size of the received packets may be less than the FIFO size
the data packets are not arranged continuously within the transfer buffer.
E.5.4 Input and Output Structures
This section provides a detailed description of the data structures that
are used with the various input and output requests.
Содержание 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 ...