打印

USB DEVICE 的问题

[复制链接]
1897|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
liaowei230509|  楼主 | 2011-3-29 22:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
使用中断方式收发,只要一发送,就会一直进中断,在中断中看了,是ginnakeff标志为1,也就是GINAKEFF中断,大家看看这是怎么回事

Bit 6 GINAKEFF: Global IN non-periodic NAK effective
Indicates that the Set global non-periodic IN NAK bit in the Device control register (SGINAK bit
in OTG_FS_DCTL), set by the application, has taken effect in the core. That is, the core has
sampled the Global IN NAK bit set by the application. This bit can be cleared by clearing the
Clear global non-periodic IN NAK bit in the Device control register (CGINAK bit in
OTG_FS_DCTL).
This interrupt does not necessarily mean that a NAK handshake is sent out on the USB. The
STALL bit takes precedence over the NAK bit.
Note: Only accessible in Device mode.
沙发
linhaishi| | 2014-4-20 21:34 | 只看该作者
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

67

帖子

1

粉丝