Changeset 816f5f4 in mainline for uspace/lib/usb/include/usb/usb.h
- Timestamp:
- 2017-10-15T16:55:48Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b2f69e
- Parents:
- 2770b66
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/usb.h
r2770b66 r816f5f4 163 163 164 164 165 /** USB complete address type. 165 /** USB complete address type. 166 166 * Pair address + endpoint is identification of transaction recipient. 167 167 */ … … 173 173 uint32_t packed; 174 174 } usb_target_t; 175 176 /** Description of usb endpoint. 177 */ 178 typedef struct { 179 /** Endpoint number. */ 180 usb_endpoint_t endpoint_no; 181 182 /** Endpoint transfer type. */ 183 usb_transfer_type_t transfer_type; 184 185 /** Endpoint direction. */ 186 usb_direction_t direction; 187 188 /** Maximum packet size for the endpoint. */ 189 size_t max_packet_size; 190 191 /** Number of packets per frame/uframe. 192 * Only valid for HS INT and ISO transfers. All others should set to 1*/ 193 unsigned packets; 194 195 struct { 196 unsigned polling_interval; 197 } usb2; 198 } usb_endpoint_desc_t; 175 199 176 200 /** Check USB target for allowed values (address and endpoint).
Note:
See TracChangeset
for help on using the changeset viewer.