mirror of
https://github.com/apache/nuttx.git
synced 2026-05-16 13:56:00 +08:00
bc2daa48cc
The USB driver framework only implements a single ISOC transfer. If multiple transfers are needed, the class driver can initiate multiple urbs to meet the real-time requirements of the ISOC endpoint. The class driver's urb record the buf address, length, and number of packets sent. The callback function calculates the data location in the buf based on the callback number and length returned. Signed-off-by: yangsong8 <yangsong8@xiaomi.com>