Changeset 1affef2f in mainline for uspace/lib/usbhost/include/usb/host
- Timestamp:
- 2012-12-22T23:20:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3c4663e
- Parents:
- a6a9910
- Location:
- uspace/lib/usbhost/include/usb/host
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/hcd.h
ra6a9910 r1affef2f 82 82 } 83 83 84 /** Check registered endpoints and reset toggle bit if necessary.85 * @param hcd hcd_t structure, non-null.86 * @param target Control communication target.87 * @param setup_data Setup packet of the control communication.88 */89 static inline void reset_ep_if_need(hcd_t *hcd, usb_target_t target,90 const char setup_data[8])91 {92 assert(hcd);93 usb_endpoint_manager_reset_eps_if_need(94 &hcd->ep_manager, target, (const uint8_t *)setup_data);95 }96 97 84 int hcd_send_batch( 98 85 hcd_t *hcd, ddf_fun_t *fun, usb_target_t target, usb_direction_t direction, … … 100 87 usbhc_iface_transfer_in_callback_t in, 101 88 usbhc_iface_transfer_out_callback_t out, void *arg, const char* name); 102 103 89 104 90 /** Data retrieve wrapper. -
uspace/lib/usbhost/include/usb/host/usb_endpoint_manager.h
ra6a9910 r1affef2f 76 76 size_t available_bandwidth, bw_count_func_t bw_count); 77 77 78 void usb_endpoint_manager_reset_eps_if_need(usb_endpoint_manager_t *instance,79 usb_target_t target, const uint8_t data[8]);80 81 78 int usb_endpoint_manager_register_ep( 82 79 usb_endpoint_manager_t *instance, endpoint_t *ep, size_t data_size); 80 83 81 int usb_endpoint_manager_unregister_ep( 84 82 usb_endpoint_manager_t *instance, endpoint_t *ep);
Note:
See TracChangeset
for help on using the changeset viewer.