
usbd setup isochronous() 2006, QNX Software Systems GmbH & Co. KG.
Set up a URB for an isochronous transfer
Synopsis:
CAUTION: This function is still under development - its synopsis
and other details shown here may change significantly!
!
#include <sys/usbdi.h>
int usbd
setup isochronous( struct usbd urb *urb,
uint32 flags,
int32 frame,
void *addr,
uint32 len );
Description:
This routine sets up a URB for an isochronous transfer.
urb An opaque handle (from usbd
alloc urb()).
flags One of the following:
URB DIR IN—Specify incoming (device-to-PC)
transfer.
URB DIR OUT—Specify outgoing (PC-to-device)
transfer.
URB DIR NONE—Don’t specify direction.
URB ISOCH ASAP—Allow transfer as soon as possible
(overrides frame).
URB SHORT XFER OK—Allow short transfers.
frame The device frame number. This is ignored if
URB ISOCH ASAP is set.
addr Address for start of transfer — you must use the buffer
allocated by usbd
alloc().
len The length (in bytes) of the data transfer.
88 Chapter 4 USB Library Reference November 2, 2006
Comentarios a estos manuales