Changeset 925e099 in mainline for uspace/lib/usb/include
- Timestamp:
- 2011-03-21T13:41:03Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48fe0c9, 7d6a676
- Parents:
- 9078de8f (diff), 0e45e7f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/lib/usb/include/usb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/classes/hub.h
r9078de8f r925e099 60 60 } usb_hub_class_feature_t; 61 61 62 /** Header of standard hub descriptor without the "variadic" part. */ 63 typedef struct { 64 /** Descriptor length. */ 65 uint8_t length; 66 /** Descriptor type (0x29). */ 67 uint8_t descriptor_type; 68 /** Number of downstream ports. */ 69 uint8_t port_count; 70 /** Characteristics bitmask. */ 71 uint16_t characteristics; 72 /** Time from power-on to stabilization of current on the port. */ 73 uint8_t power_good_time; 74 /** Maximum current requirements in mA. */ 75 uint8_t max_current; 76 } __attribute__ ((packed)) usb_hub_descriptor_header_t; 62 77 63 78 /** -
uspace/lib/usb/include/usb/request.h
r9078de8f r925e099 94 94 uint16_t, uint16_t, void *, size_t, size_t *); 95 95 96 int usb_request_get_status(usb_endpoint_pipe_t *, usb_request_recipient_t, 97 uint16_t, uint16_t *); 98 int usb_request_clear_feature(usb_endpoint_pipe_t *, usb_request_type_t, 99 usb_request_recipient_t, uint16_t, uint16_t); 100 int usb_request_set_feature(usb_endpoint_pipe_t *, usb_request_type_t, 101 usb_request_recipient_t, uint16_t, uint16_t); 96 102 int usb_request_set_address(usb_endpoint_pipe_t *, usb_address_t); 97 103 int usb_request_get_descriptor(usb_endpoint_pipe_t *, usb_request_type_t, … … 108 114 int usb_request_get_full_configuration_descriptor_alloc(usb_endpoint_pipe_t *, 109 115 int, void **, size_t *); 116 int usb_request_set_descriptor(usb_endpoint_pipe_t *, usb_request_type_t, 117 usb_request_recipient_t, uint8_t, uint8_t, uint16_t, void *, size_t); 118 int usb_request_get_configuration(usb_endpoint_pipe_t *, uint8_t *); 110 119 int usb_request_set_configuration(usb_endpoint_pipe_t *, uint8_t); 120 int usb_request_get_interface(usb_endpoint_pipe_t *, uint8_t, uint8_t *); 121 int usb_request_set_interface(usb_endpoint_pipe_t *, uint8_t, uint8_t); 111 122 112 123 int usb_request_get_supported_languages(usb_endpoint_pipe_t *,
Note:
See TracChangeset
for help on using the changeset viewer.