Changeset 0aae4a6a in mainline for uspace/lib/usb/include/usb/host/endpoint.h
- Timestamp:
- 2011-04-07T07:32:46Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 92d6868
- Parents:
- fc9f88d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host/endpoint.h
rfc9f88d r0aae4a6a 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);
Note:
See TracChangeset
for help on using the changeset viewer.