C API for BALTECH SDK

§ brp_UsbHost_TransSetupOut()

brp_errcode brp_UsbHost_TransSetupOut ( brp_protocol  protocol,
brp_buf  SetupData,
brp_buf  OutData,
size_t  OutData_len,
unsigned  PipeNo,
unsigned  Timeout 
)

Transfers a SETUP transaction with a OUT DATA stage.

Parameters
[in]protocolused to execute the command
[in]SetupDataData to transfer in SETUP Stage.
[in]OutDataData to send.
[in]OutData_len
[in]PipeNoNumber of pipe.
[in]TimeoutTimeout for transaction.