//打开 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) }
标签: Pipe OpenMyDevPipe MyPipe1 HANDLE
上传时间: 2014-11-25
上传用户:stampede
安全移除usb设备功能,可禁止某类usb设备的使用,实行系统安全控制Removing a USB drive using the Windows tray icon is easy - especially if you single left-click it... But sometimes it s useful to it from your program
上传时间: 2015-10-15
上传用户:dianxin61
This directory contains the memtest 8051 firmware for the Anchor Chips EZ-USB chip. The purpose of this software is to test the different memory segments in the Ez-Usb chip. This example will output the string "good" on the 7 segment LED if the mem test passes, or it will output the first address where the memtest fails.
标签: directory the contains firmware
上传时间: 2013-12-16
上传用户:gdgzhym
USB2.0 protocol file, doc and pdf file useful file to develope USB product. should download and view if develope USB1.1 or USB2.0
上传时间: 2013-12-19
上传用户:klin3139
The USB Multi-Interface driver is a replacement driver for the system provided Multi-Interface driver. This driver was developed to overcome some bugs that are included in the build in driver and to introduce new features. The driver is compatible to the system provided Multi-Interface driver. If the driver is installed on a system, it does not automatically replace the system provided driver. It exists parallel to the system driver and is assigned to a device during the installation process.
标签: Multi-Interface driver replacement provided
上传时间: 2017-02-11
上传用户:asddsd
This file for experiment of C8051 Microcontroller(SILABS company) with USB interface that use keil programming if you have some problem for this file, please contact me with sofa24@hotmail.com
标签: Microcontroller experiment interface company
上传时间: 2017-08-24
上传用户:woshini123456
1.特色(CY7C68013A/14A/15A/16A)■USB 2.0USB IF 高速性能且经过认证(TID#40460272)■单芯片集成USB2.0收发器、智能串行接口引擎(SIE)和增强型8051微处理器■适用性、外观和功能均与FX2兼容a引脚兼容口目标代码兼容a功能兼容(FX2LP是超集)■超低功耗:lcc在任何模式下都不超过85mA a适合总线和电池供电的应用软件:8051代码运行介质:3内部RAM,通过USB下载口内部RAM,从EEPROM加载口外部存储设备(128引脚封装)■16K字节片上代码/数据RAM■四个可编程的BULK/INTERRUPT/ISOCHRONOUS 端点口缓冲区大小选项:两倍,三倍,四倍■附加的可编程(BULK/INTERRUPT)64位端点■8位或16位外部数据接口■可生成智能介质标准错误校正码ECC
标签: usb
上传时间: 2022-06-25
上传用户:zhaiyawei
USB子类协议.part2
上传时间: 2013-05-22
上传用户:eeworm
USB HID Demonstrator Release 1.0.1
标签: Demonstrator Release USB HID
上传时间: 2013-04-15
上传用户:eeworm
USB子类协议.part3
上传时间: 2013-08-03
上传用户:eeworm