Changeset 8dc762e0 in mainline for uspace/lib/usb/include/usb/host/endpoint.h
- Timestamp:
- 2011-04-06T21:12:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- f567bcf
- Parents:
- 1e70157
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host/endpoint.h
r1e70157 r8dc762e0 27 27 */ 28 28 29 /** @addtogroup drvusbuhcihc29 /** @addtogroup libusb 30 30 * @{ 31 31 */ 32 32 /** @file 33 * @brief UHCI host controller driver structure33 * 34 34 */ 35 #ifndef DRV_UHCI_UHCI_ENDPOINT_H36 #define DRV_UHCI_UHCI_ENDPOINT_H35 #ifndef LIBUSB_HOST_ENDPOINT_H 36 #define LIBUSB_HOST_ENDPOINT_H 37 37 38 38 #include <assert.h> … … 40 40 #include <adt/list.h> 41 41 #include <usb/usb.h> 42 43 #include "hw_struct/queue_head.h"44 42 45 43 typedef struct endpoint { … … 50 48 bool active; 51 49 int toggle:1; 52 qh_t *qh;53 50 } endpoint_t; 54 51 … … 56 53 usb_speed_t speed, size_t max_packet_size); 57 54 58 void endpoint_destroy( void *ep);55 void endpoint_destroy(endpoint_t *instance); 59 56 60 57 void endpoint_toggle_reset(link_t *ep);
Note:
See TracChangeset
for help on using the changeset viewer.