Belkin F8E211 Uživatelská příručka Strana 110

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 114
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 109
usbd urb status() 2006, QNX Software Systems GmbH & Co. KG.
Return status information on a URB
Synopsis:
#include <sys/usbdi.h>
int usbd
urb status( struct usbd urb *urb,
uint32 *status,
uint32 *len )
Description:
You use the usbd urb status() function to extract completion status
and data-transfer length from a URB.
urb An opaque handle (from usbd
alloc urb()).
status Completion status (see below).
len The actual length (in bytes) of the data transfer.
Completion status
The status field contains the completion status information, which
includes the following flags:
USBD STATUS INPROG
The operation is in progress.
USBD STATUS CMP
The operation is complete.
USBD STATUS CMP ERR
The operation is complete, but an error occurred.
USBD STATUS TIMEOUT
The operation timed out.
USBD STATUS ABORTED
The operation aborted.
98 Chapter 4 USB Library Reference November 2, 2006
Zobrazit stránku 109
1 2 ... 105 106 107 108 109 110 111 112 113 114

Komentáře k této Příručce

Žádné komentáře