Changes in uspace/lib/drv/include/usbhc_iface.h [9753220:1e64b250] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usbhc_iface.h
r9753220 r1e64b250 66 66 * - argument #2 is target endpoint 67 67 * - argument #3 is buffer size 68 * - this call is immediately followed by IPC data read (async version) 68 69 * - the call is not answered until the device returns some data (or until 69 70 * error occurs) 70 * - if the call is answered with EOK, first argument of the answer is buffer71 * hash that could be used to retrieve the actual data72 71 * 73 72 * Some special methods (NO-DATA transactions) do not send any data. These 74 73 * might behave as both OUT or IN transactions because communication parts 75 74 * where actual buffers are exchanged are omitted. 76 * 77 * The mentioned data retrieval can be done any time after receiving EOK 78 * answer to IN method. 79 * This retrieval is done using the IPC_M_USBHC_GET_BUFFER where 80 * the first argument is buffer hash from call answer. 81 * This call must be immediately followed by data read-in and after the 82 * data are transferred, the initial call (IPC_M_USBHC_GET_BUFFER) 83 * is answered. Each buffer can be retrieved only once. 84 * 75 ** 85 76 * For all these methods, wrap functions exists. Important rule: functions 86 77 * for IN transactions have (as parameters) buffers where retrieved data … … 104 95 IPC_M_USBHC_GET_ADDRESS, 105 96 106 /** Asks for data buffer.107 * See explanation at usb_iface_funcs_t.108 * This function does not have counter part in functional interface109 * as it is handled by the remote part itself.110 */111 IPC_M_USBHC_GET_BUFFER,112 113 97 114 98 /** Reserve usage of default address.
Note:
See TracChangeset
for help on using the changeset viewer.