Changeset 92574f4 in mainline for uspace/lib/usb/include/usb/usb.h
- Timestamp:
- 2011-02-24T12:03:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e7b7ebd5
- Parents:
- 4837092 (diff), a80849c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/usb.h
r4837092 r92574f4 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. */ … … 70 69 } usb_direction_t; 71 70 71 /** USB speeds. */ 72 typedef enum { 73 /** USB 1.1 low speed (1.5Mbits/s). */ 74 USB_SPEED_LOW, 75 /** USB 1.1 full speed (12Mbits/s). */ 76 USB_SPEED_FULL, 77 /** USB 2.0 high speed (480Mbits/s). */ 78 USB_SPEED_HIGH 79 } usb_speed_t; 80 72 81 /** USB request type target. */ 73 82 typedef enum { … … 83 92 USB_REQUEST_RECIPIENT_ENDPOINT = 2 84 93 } usb_request_recipient_t; 85 86 /** USB transaction outcome. */87 typedef enum {88 USB_OUTCOME_OK,89 USB_OUTCOME_CRCERROR,90 USB_OUTCOME_BABBLE91 } usb_transaction_outcome_t;92 93 const char * usb_str_transaction_outcome(usb_transaction_outcome_t o);94 94 95 95 /** USB address type.
Note:
See TracChangeset
for help on using the changeset viewer.