Changeset 6b433a8 in mainline for uspace/lib/usb/include/usb/descriptor.h
- Timestamp:
- 2017-11-20T19:14:31Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 27b0ea0
- Parents:
- d3086873
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/descriptor.h
rd3086873 r6b433a8 240 240 * For bulk endpoints, this field contains the amount of streams 241 241 * supported by the endpoint. 242 * For isochronous endpoints, this field contains either maximum 243 * number of packets supported within a service interval, or 244 * whether an isochronous endpoint companion descriptor follows. 242 * For isochronous endpoints, this field contains maximum 243 * number of packets supported within a service interval. 244 * Warning: the values returned by macros may not make any sense 245 * for specific endpoint types. 245 246 */ 246 247 uint8_t attributes; 247 248 #define SS_COMPANION_MAX_STREAMS(attributes) \ 248 249 (attributes & 0x1f) 250 #define SS_COMPANION_MULT(attributes) \ 251 (attributes & 0x3) 249 252 /** The total number of bytes this endpoint will transfer 250 253 * every service interval (SI).
Note:
See TracChangeset
for help on using the changeset viewer.