Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_setup_interrupt.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_setup_interrupt.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_setup_interrupt.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_setup_interrupt.html on line 8

usbd_setup_interrupt()

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 );

Arguments:

urb
An opaque handle (from usbd_alloc_urb()).
flags
One of the following:

You can optionally OR in the following:

addr
The address for the start of the transfer. You must use the buffer allocated by usbd_alloc().
len
The length (in bytes) of the data transfer.

Library:

libusbdi

Description:

This routine sets up a URB for an interrupt transfer.

Returns:

EOK
Success.

Classification:

QNX Neutrino, QNX 4

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

usbd_setup_bulk(), usbd_setup_control(), usbd_setup_isochronous(), usbd_setup_vendor()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_setup_interrupt.html on line 150

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_setup_interrupt.html on line 150