Location:
Search - usb pipe
Search list
Description: //打开 USB 口读写, 由驱动程序的 Pipe 名确定
HANDLE hPipe = OpenMyDevPipe(\"MyPipe1\") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致
if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功
{
ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数据到 Buffer 里
//WriteFile(hPipe, Buffer, BytesToWrite, &nBytesWritten, NULL) //把 Buffer 里面的 BytesToWrite 字节写入 hPipe
CloseHandle(hPipe)
}
//使用 DeviceIoControl 访问 USB 设备
HANDLE hDevice = OpenMyDevice()
if(hDevice != INVALID_HANDLE_VALUE) //打开设备成功
{
//这些 DeviceIoControl 功能都是由设备定义的, 具体看设备和驱动的资料
if(DeviceIoControl(hDevice, IOCTL_READ_xxxx, &IOBlock, sizeof(IOBLOCK), &c, 1, &nBytes, NULL))
{
//成功
}
CloseHandle(hDevice)
}-/ / open USB literacy, Drivers from the Pipe were identified HANDLE hPipe = OpenMyDevPipe ( " MyPipe1 ") / / driver inside Pipe, and a corresponding visit to the endpoint I / O, Here, I write without basis. consistent with the need to drive if (hPipe! = INVALID_HANDLE_VALUE) / / Open Pipe success (ReadFile (hPipe, Buffer, BufSize,
Platform: |
Size: 1813 |
Author: lanxilange |
Hits:
Description: FX2Pipe is a small high speed USB transfer program which can pipe stdin into the FX2 FIFO or back from the FIFO to stdout.
Platform: |
Size: 168960 |
Author: manta |
Hits:
Description: 一份USB Bulk pipe的driver source code-A COPY OF USB Bulk pipe的driver source code
Platform: |
Size: 209920 |
Author: tai |
Hits:
Description: usb Driver 使用WDK 编译可以获取通道和端点信息-usb Driver may WDK compile.Can GET pipe and endpoint
Platform: |
Size: 115712 |
Author: zhang seng feng |
Hits:
Description: C++语言编写的针对CY7C68013A芯片的固件程序。包括了对USB Slave FIFO的配置和内部传输管道以及FIFO大小的必要控制。该程序在硬件上通过测试,在没有其他USB设备干扰的应用下,可以确保450Mbps通讯效率。-Firmware control for USB Slave FIFO in CY7C68013A. It define the necessary configuration on transaction segment and pipe as well as FIFO size setting to assure proper 450M bps USB transaction.
Platform: |
Size: 1404928 |
Author: Alex Liu |
Hits:
Description: 该示范项目的目标是使用USB进行通信,建立双通道与一个PC应用程序连接。
-The goal of this demonstration project is to use USB to communicate with through 2 pipes with a PC application.
Platform: |
Size: 596992 |
Author: makaveli |
Hits:
Description: linux系统上,有关瑞萨的USB驱动程序,欢迎用到的朋友下载!-linux systems, Renesas USB drivers, welcome friends used to download!
Platform: |
Size: 5120 |
Author: tardware |
Hits:
Description: USBSAMP的示例演示了如何执行完整和高速散装和同步,超音速散装流数据传输到一个通用USB设备通过使用内核模式驱动程序框架(KMDF)。超快速度的批量传输只有工作当微软USB 3.0堆栈被加载。示例还包含一个控制台应用程序,启动批量测试(包括流)和等时传输和获取数据从设备的I / O端点。该应用程序还演示了如何使用设备名称和管道基础guid名称生成的操作系统使用SetupDiXXX用户模式api。-The USBSAMP sample demonstrates how to perform full and high speed bulk and isochronous, and SuperSpeed bulk stream data transfers to a generic USB device by using Kernel Mode Driver Framework (KMDF). Superspeed bulk transfers only work when the Microsoft USB 3.0 stack is loaded. The sample also contains a console test application that initiates bulk (including stream) and isochronous transfers and obtains data from the device s I/O endpoints. The application also demonstrates how to use GUID-based device names and pipe names generated by the operating system using the SetupDiXXX user-mode APIs.
Platform: |
Size: 75776 |
Author: 冯一疯 |
Hits:
Description: Renesas USB driver for Linux v2.13.6.
Platform: |
Size: 5120 |
Author: ziererjue |
Hits:
Description: Renesas USB driver for Linux v2.13.6.
Platform: |
Size: 9216 |
Author: ziefjhv |
Hits: