Changes in uspace/lib/usb/include/usb/usb.h [2cea1045:daec5e04] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/usb.h
r2cea1045 rdaec5e04 38 38 #include <sys/types.h> 39 39 #include <byteorder.h> 40 #include <ipc/ipc.h>41 40 42 41 /** Convert 16bit value from native (host) endianness to USB endianness. */ … … 66 65 typedef enum { 67 66 USB_DIRECTION_IN, 68 USB_DIRECTION_OUT 67 USB_DIRECTION_OUT, 68 USB_DIRECTION_BOTH 69 69 } usb_direction_t; 70 70 … … 82 82 USB_REQUEST_RECIPIENT_ENDPOINT = 2 83 83 } usb_request_recipient_t; 84 85 /** USB transaction outcome. */86 typedef enum {87 USB_OUTCOME_OK,88 USB_OUTCOME_CRCERROR,89 USB_OUTCOME_BABBLE90 } usb_transaction_outcome_t;91 92 const char * usb_str_transaction_outcome(usb_transaction_outcome_t o);93 84 94 85 /** USB address type.
Note:
See TracChangeset
for help on using the changeset viewer.