usbd_setup_isochronous()

Set up a URB for an isochronous transfer

Synopsis:

#include <sys/usbdi.h>

int usbd_setup_isochronous( struct usbd_urb *urb,
                            uint32_t flags,
                            int32_t frame,
                            void *addr,
                            uint32_t len );

Arguments:

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

You can optionally OR in either or both of the following:

frame
The device frame number. This is ignored if URB_ISOCH_ASAP is set.
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 isochronous transfer.

Returns:

EOK
Success.

Classification:

QNX Neutrino, QNX 4

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

See also:

usbd_descriptor(), usbd_feature(), usbd_io(), usbd_setup_bulk(), usbd_setup_control(), usbd_setup_interrupt(), usbd_setup_vendor(), usbd_status()