Belkin F8E211 Guía de usuario Pagina 100

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 99
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
Vista de pagina 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 113 114

Comentarios a estos manuales

Sin comentarios