cherry-embedded / CherryUSB

CherryUSB is a tiny and portable USB Stack (device & host) for embedded system with USB IP
https://cherryusb.readthedocs.io/
Apache License 2.0
1.17k stars 249 forks source link

对于批量传输的最后一个IN事务,如果USB主机收到的数据长度等于端点支持的最大包长度,需要额外的0数据的包,告诉USB主机数据已经接收完成 #141

Closed xmaowu closed 10 months ago

sakumisu commented 10 months ago

demo中会发送0包,不需要在驱动中做,并且也不是说批量传输都要发0包的,这是根据主机来的