7、{ 5. int len; /* data length in the buffer */ 6. unsigned char buf[USBEPFIFO_SIZE]; /* data buffer itself */ 7.}; 8. 9.struct usb_endpoint { int type; /* endpoint type: BULKIN, BULKOUT, CTL, ISO ... */ 10. int qlen; /* queue len
8、gth */ 11. 12. xQueueHandle lock; /* semaphore lock */ 13. xQueueHandle q; /* data queue (pointer of bu