指向指定 URB 标头信息的_URB_HEADER结构的指针。Hdr.Function必须URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER,Hdr.Length必须设置为sizeof(_URB_BULK_OR_INTERRUPT_TRANSFER)。 PipeHandle 指定批量管道或中断管道的不透明句柄。 当客户端驱动程序使用类型为 URB_FUNC
On UHCI and OHCI host controllers, if USBD_SHORT_TRANSFER_OK is not set for a bulk or interrupt transfer, a short packet transfer halts the endpoint and an error code is returned for the transfer. The client driver must resume the endpoint by submitting a URB_FUNCTION_SYNC_RESET_PIP...
Function成员必须是一系列系统定义的URB_FUNCTION_XXX常量之一,用于确定所请求的操作类型。 例如,在数据传输的情况下,此成员指示传输的类型。 函数代码URB_FUNCTION_CONTROL_TRANSFER、URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER和URB_FUNCTION_ISOCH_TRANSFER分别指示控制、批量/中断和常时等量传输。 USB 驱动程序堆栈使用...
Defines the format for a command to transmit or receive data on a control pipe. UrbBulkOrInterruptTransfer Defines the format for a command to transmit or receive data on a bulk pipe, or to receive data from an interrupt pipe. For more information, see_URB_BULK_OR_INTERRUPT_TRANSFER. ...
_URB_BULK_OR_INTERRUPT_TRANSFER structure _URB_CONTROL_DESCRIPTOR_REQUEST structure _URB_CONTROL_FEATURE_REQUEST structure _URB_CONTROL_GET_CONFIGURATION_REQUEST structure _URB_CONTROL_GET_INTERFACE_REQUEST structure _URB_CONTROL_GET_STATUS_REQUEST structure _URB_CONTROL_TRANSFER structure _URB_CONTROL_TRA...
Defines the format for a command to transmit or receive data on a control pipe. UrbBulkOrInterruptTransfer Defines the format for a command to transmit or receive data on a bulk pipe, or to receive data from an interrupt pipe. For more information, see_URB_BULK_OR_INTERRUPT_TRANSFER. ...
指定URB 標頭資訊的_URB_HEADER結構的指標。Hdr.Function必須是URB_FUNCTION_ISOCH_TRANSFER,Hdr.Length必須是這個可變長度數據結構的大小。 PipeHandle 指定不透明的管線。 當用戶端驅動程式選取具有類型為 URB 的裝置組態 URB_FUNCTION_SELECT_CONFIGURATION時,或當用戶端驅動程式變更具有類型為 URB 且類型為 URB_FUNCTI...
* URBs may be submitted in interrupt context. * * The caller must have correctly initialized the URB before submitting * it. Functions such as usb_fill_bulk_urb() and usb_fill_control_urb() are * available to ensure that most fields are correctly initialized, for ...
6.* @transfer_buffer: pointer to the transfer buffer 7.* @buffer_length: length of the transfer buffer 8.* @complete_fn: pointer to the usb_complete_t function 9.* @context: what to set the urb context to. 10.* 11.* Initializes a bulk urb with the proper information needed to su...
void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context, int interval) 分别用来填充CONTORL,BULK,INT类型的URB. 观察他们的函数原型,发现有很多相的的参数.先对这些参数做一下解释: Urb:是要初始化的urb Dev:表示消息要被发送到的USB设备 ...