Changeset ac18b08 in mainline
- Timestamp:
- 2017-10-11T09:55:52Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eaf5e86
- Parents:
- 42bc933
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/descriptor.h
r42bc933 rac18b08 224 224 } __attribute__ ((packed)) usb_standard_endpoint_descriptor_t; 225 225 226 /** Superspeed USB endpoint companion descriptor. 227 * See USB 3 specification, section 9.6.7. 228 */ 229 typedef struct { 230 /** Size of this descriptor in bytes */ 231 uint8_t length; 232 /** Descriptor type (USB_DESCTYPE_SSPEED_EP_COMPANION). */ 233 uint8_t descriptor_type; 234 /** The maximum number of packets the endpoint can send 235 * or receive as part of a burst. Valid values are from 0 to 15. 236 * The endpoint can only burst max_burst + 1 packets at a time. 237 */ 238 uint8_t max_burst; 239 /** Valid only for bulk and isochronous endpoints. 240 * For bulk endpoints, this field contains the amount of streams 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. 245 */ 246 uint8_t attributes; 247 /** The total number of bytes this endpoint will transfer 248 * every service interval (SI). 249 * This field is only valid for periodic endpoints. 250 */ 251 uint16_t bytes_per_interval; 252 } __attribute__ ((packed)) usb_superspeed_endpoint_companion_descriptor_t; 253 226 254 /** Part of standard USB HID descriptor specifying one class descriptor. 227 255 *
Note:
See TracChangeset
for help on using the changeset viewer.