I have a basic question on USB transfers/ drivers.
Lets say a host wants to read data from the device (TIVA) and it performs a transfer IN, where(in which part of the device SW driver) the device should process the answer?
The routine RxHandler is for the data the device receives from the host while TxHandler is the data the device transmits to the host...so If the HOST start a transfer IN...where I am going to see that in the device sw driver(so I can process the information and answer)?
Right now I am writing data (transfer OUT) from the host to communicate to the device which data to send in the next Transfer IN request...so I manage the answer in the RxHandler..it does not look to me the correct way to do it.
Thanks.