Changeset 56e9fb0 in mainline for uspace/lib/usb/include/usb/usb.h
- Timestamp:
- 2011-09-14T18:52:40Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 365e29e2
- Parents:
- 8e3d17f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/usb.h
r8e3d17f r56e9fb0 106 106 * Negative values could be used to indicate error. 107 107 */ 108 typedef int usb_address_t;108 typedef int16_t usb_address_t; 109 109 110 110 /** Default USB address. */ … … 116 116 * Negative values could be used to indicate error. 117 117 */ 118 typedef int usb_endpoint_t;118 typedef int16_t usb_endpoint_t; 119 119 120 120 /** Maximum endpoint number in USB 1.1. … … 126 126 * Pair address + endpoint is identification of transaction recipient. 127 127 */ 128 typedef struct { 129 usb_address_t address; 130 usb_endpoint_t endpoint; 128 typedef union { 129 struct { 130 usb_address_t address; 131 usb_endpoint_t endpoint; 132 } __attribute__((packed)); 133 uint32_t packed; 131 134 } usb_target_t; 132 135
Note:
See TracChangeset
for help on using the changeset viewer.