BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_UsbHost_TransSetupIn | ( | brp_protocol | protocol, |
brp_buf | SetupData, | ||
unsigned | PipeNo, | ||
unsigned | Timeout, | ||
brp_buf * | InData, | ||
size_t * | InData_len, | ||
brp_mempool * | mempool | ||
) |
Transfers a SETUP transaction with a IN DATA stage.
[in] | protocol | used to execute the command |
[in] | SetupData | Data to transfer in SETUP stage. |
[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 |