请教楼主一个问题
[C] 纯文本查看 复制代码 57.2.3 Peripheral-mode features
The OTG_HS interface main features in peripheral-mode are the following:
• 1 bidirectional control endpoint0
• 8 IN endpoints (EPs) configurable to support bulk, interrupt or isochronous transfers
• 8 OUT endpoints configurable to support bulk, interrupt or isochronous transfers
• Management of a shared Rx FIFO and a Tx-OUT FIFO for efficient usage of the USB
data RAM
• Management of up to 9 dedicated Tx-IN FIFOs (one for each active IN EP) to put less
load on the application
• Support for the soft disconnect feature.
手册中说到 8个 IN 端点, 8个 OUT 端点,
假设当前设备需要使用3个端点,USBX 里面配置端点的序列号会一次是 1 2 3 这样的方式。这里根据 123 是怎么分配到对应的 IN 还是 OUT 端点呢? |