//打開 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