
© 2007, QNX Software Systems GmbH & Co. KG. usbd
_
setup
_
control()
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 a control transfer.
Returns:
EOK Success.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes
Caveats:
To ensure that the correct physical address will be used, you must use the buffer
allocated by usbd
_
alloc() for the addr parameter.
See also:
usbd
_
descriptor(), usbd
_
feature(), usbd
_
io(), usbd
_
setup
_
bulk(),
usbd
_
setup
_
interrupt(), usbd
_
setup
_
isochronous(), usbd
_
setup
_
vendor(),
usbd
_
status()
September 10, 2007 Chapter 4 • USB Library Reference 73
Komentáře k této Příručce