Changeset a6afb4c in mainline for uspace/lib/drv/include
- Timestamp:
- 2018-01-23T14:02:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4db49344
- Parents:
- e7e1fd3
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-23 13:35:50)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-23 14:02:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usbhc_iface.h
re7e1fd3 ra6afb4c 60 60 * Negative values could be used to indicate error. 61 61 */ 62 typedef int16_t usb_endpoint_t;62 typedef uint16_t usb_endpoint_t; 63 63 64 64 /** USB address type. 65 65 * Negative values could be used to indicate error. 66 66 */ 67 typedef int16_t usb_address_t; 67 typedef uint16_t usb_address_t; 68 69 /** 70 * USB Stream ID type. 71 */ 72 typedef uint16_t usb_stream_t; 68 73 69 74 /** USB transfer type. */ … … 72 77 USB_TRANSFER_ISOCHRONOUS = 1, 73 78 USB_TRANSFER_BULK = 2, 74 USB_TRANSFER_INTERRUPT = 3 79 USB_TRANSFER_INTERRUPT = 3, 75 80 } usb_transfer_type_t; 81 82 #define USB_TRANSFER_COUNT (USB_TRANSFER_INTERRUPT + 1) 76 83 77 84 /** USB data transfer direction. */ … … 79 86 USB_DIRECTION_IN, 80 87 USB_DIRECTION_OUT, 81 USB_DIRECTION_BOTH 88 USB_DIRECTION_BOTH, 82 89 } usb_direction_t; 90 91 #define USB_DIRECTION_COUNT (USB_DIRECTION_BOTH + 1) 83 92 84 93 /** USB complete address type. … … 89 98 usb_address_t address; 90 99 usb_endpoint_t endpoint; 91 u int32_t stream;100 usb_stream_t stream; 92 101 } __attribute__((packed)); 93 102 uint64_t packed;
Note:
See TracChangeset
for help on using the changeset viewer.