![]() |
BALTECH Docs |
C API for BALTECH SDK
|
| brp_errcode brp_UsbHost_TransIn | ( | brp_protocol | protocol, |
| unsigned | PipeNo, | ||
| unsigned | Timeout, | ||
| brp_buf * | InData, | ||
| size_t * | InData_len, | ||
| brp_mempool * | mempool | ||
| ) |
Transfers an IN transaction.
| [in] | protocol | used to execute the command |
| [in] | PipeNo | Number of pipe. |
| [in] | Timeout | Timeout for transaction. |
| [out] | InData | Resulting data. |
| [out] | InData_len | |
| [in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |