This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教一个USB开发的基本问题



请教一个USB开发的基本问题:

比如TM4C芯片, 作为USB device可以支持8个IN endpoint 和8个out endpoint,那么和USB host通信的时候怎么知道是HOST用了哪一个Endpoint呢?这个Endpoint的选择是谁选的呢,自动选择的吗?

TM4C当收到HOST传来的数据时,又怎么知道是属于哪个Endpoint的呢?因为TM4C usb里面有好几个endpoint的Fifo,怎么确定是哪个呢?

谢谢!