首页 文章

USB BULK IN endpoints 地址0x81或0x01?

提问于
浏览
0

我正在实现USB作为主机来读取FAT32文件系统的内容 . endpoints 描述符返回0x81为IN endpoints 地址,0x02为OUT EP .

我正在使用OHCI实现这一点 . OHCI中的 endpoints 描述符有一个4比特的 endpoints 字段,如'EN'字段
enter image description here
所示

So does this mean my endpoint address are 0x02 for OUT and 0x01 for IN? these are there endpoint numbers for sure.

我问这个是因为我从IN endpoints 接收数据的传输描述符失败了,我还无法弄清楚原因 .

1 回答

  • 0

    正如Chris所提到的,它取决于上下文并使用0x01工作!

相关问题