Changeset 9a7e5b4 in mainline for uspace/lib/usb/include/usb/host/endpoint.h
- Timestamp:
- 2011-04-07T08:19:03Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41c1f7b
- Parents:
- dcaf819 (diff), 506d330 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host/endpoint.h
rdcaf819 r9a7e5b4 42 42 43 43 typedef struct endpoint { 44 link_t same_device_eps; 44 usb_address_t address; 45 usb_endpoint_t endpoint; 46 usb_direction_t direction; 45 47 usb_transfer_type_t transfer_type; 46 48 usb_speed_t speed; … … 48 50 bool active; 49 51 unsigned toggle:1; 52 link_t same_device_eps; 50 53 } endpoint_t; 51 54 52 int endpoint_init(endpoint_t *instance, usb_transfer_type_t transfer_type, 53 usb_speed_t speed, size_t max_packet_size); 55 int endpoint_init(endpoint_t *instance, usb_address_t address, 56 usb_endpoint_t endpoint, usb_direction_t direction, 57 usb_transfer_type_t type, usb_speed_t speed, size_t max_packet_size); 54 58 55 59 void endpoint_destroy(endpoint_t *instance); … … 61 65 void endpoint_toggle_reset(link_t *ep); 62 66 67 void endpoint_toggle_reset_filtered(link_t *ep, usb_endpoint_t epn); 63 68 64 69 #endif
Note:
See TracChangeset
for help on using the changeset viewer.