Universal USB Device Driver (USBIO)
Programming Interface
USB08 Evaluation Board
Designer Reference Manual
MOTOROLA
Universal USB Device Driver (USBIO)
183
Bulk or Interrupt Write Transfers
The write operation is used to transfer data from the host (PC) to the
USB device. The buffer is divided into data pieces (packets) of the
FIFO size of the endpoint. These packets are sent to the USB device.
If the last packet of the buffer is smaller than the FIFO size a smaller
data packet is transferred. If the size of the last packet of the buffer is
equal to the FIFO size this packet is sent. No additional zero packet
is sent automatically. To send a data packet with length zero, set the
buffer length to zero and use a NULL buffer pointer.
Bulk or Interrupt Read Transfers
The read operation is used to transfer data from the USB device to the
host (PC). The buffer is divided into data pieces (packets) of the FIFO
size of the endpoint. The buffer size should be a multiple of the FIFO
size. Otherwise the last transaction can cause a buffer overflow error.
Figure E-3. Layout of an Isochronous Transfer Buffer
USBIO_ISO_TRANSFER (
NumberOfPackets = N;
...
)
1. USBIO_ISO_PACKET
2. USBIO_ISO_PACKET
N. USBIO_ISO_PACKET
1. Data Packet
2. Data Packet
N. Data Packet
T
rans
fe
r B
u
ff
er
Offset
Offset
Offset
Содержание 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 ...