Belkin F8E211 Guía de usuario Pagina 98

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 97
usbd setup interrupt() 2006, QNX Software Systems GmbH & Co. KG.
Set up a URB for an interrupt transfer
Synopsis:
#include <sys/usbdi.h>
int usbd
setup interrupt( struct usbd urb *urb,
uint32 flags,
void *addr,
uint32 len );
Description:
This routine sets up a URB for an interrupt 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 SHORT XFER OK—Allow short transfers.
addr Address for start of transfer — you must use the buffer
allocated by usbd
alloc().
len The length (in bytes) of the data transfer.
Returns:
EOK Success.
Classification:
QNX Neutrino, QNX 4
86 Chapter 4 USB Library Reference November 2, 2006
Vista de pagina 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 113 114

Comentarios a estos manuales

Sin comentarios