/******************** Descriptor ********************/
/* 18 */
0x07, // 端点描述符长度,= 07H endpoint descriptor length = 07H
USB_ENDPOINT_DESCRIPTOR_TYPE, // 端点描述符类型,= 05H endpoint descriptor type = 05H
0x81, // 端点1 IN endpoint 1 IN
0x03, // 中断传输, = 03H interrupt transfer = 03H
0x10,0x00, // 端点最大包的大小,= 0010H endpoint max packet size = 0010H
10, // 传输间隔时间,= 10ms I
/******************** Descriptor endpoint ********************/
/* 27 */
0x07, // 端点描述符长度,= 07H endpoint descriptor length = 07H
USB_ENDPOINT_DESCRIPTOR_TYPE, // 端点描述符类型,= 05H endpoint descriptor type = 05H
0x1, // 端点1 OUT endpoint 1 OUT
0x03, // 中断传输,= 03H interrupt transfer = 03H
0x10,0x00, // 端点最大包的大小,= 0010H endpoint max packet size = 0010H
10, // 传输间隔时间,
/* 34 */
0x07, // 端点描述符长度,= 07H endpoint descriptor length = 07H
USB_ENDPOINT_DESCRIPTOR_TYPE, // 端点描述符类型,= 05H endpoint descriptor type = 05H
0x82, // 端点2 IN endpoint 2 IN
0x02, // 批量传输,= 02H bulk transfer = 02H
0x40,0x00, // 端点最大包的大小,= 0040H endpoint max packet size = 0040H
10,
/* 41 */
0x07, // 端点描述符长度,= 07H endpoint descriptor length = 07H
USB_ENDPOINT_DESCRIPTOR_TYPE, // 端点描述符类型,= 05H endpoint descriptor type = 05H
0x2, // 端点2 OUT endpoint 2 OUT
0x02, // 批量传输,= 02H bulk transfer = 02H
0x40,0x00, // 端点最大包的大小,= 0040H endpoint max packet size = 0040H
10,
|