Changeset 1affef2f in mainline for uspace/lib/usbhost/include/usb/host/hcd.h
- 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
- File:
-
- 1 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.
Note:
See TracChangeset
for help on using the changeset viewer.