HID uses complete_cb to send the next packet and not the value returned by tud_write. Therefore, no other writes can happen in between of a writing packet if fails. This ensures a proper interface multiplexing and continuous flow. Also, the read pointer is used to multiplex usb packets. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es> |
||
|---|---|---|
| .. | ||
| ccid | ||
| emulation | ||
| hid | ||
| tusb_config.h | ||
| usb.c | ||
| usb.h | ||
| usb_descriptors.c | ||
| usb_descriptors.h | ||