donalvincent 发表于 2019-5-28 23:37:12

stm32 虚拟多串口pc端驱动

usb虚拟两路串口,下面这个pc端的驱动,有个MI_00和MI_02是指什么?



;
; STMicroelectronics Comunication Device Class driver instalation file
; (C)2006 Copyright STMicroelectronics
;


Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%STM%
LayoutFile=layout.inf
DriverVer=10/02/06


%STM%=DeviceList


DefaultDestDir=12






"Stm32 USART Port A"=STMUSB, USB\VID_03EB&PID_6133&MI_00
"Stm32 USART Port B"=STMUSB, USB\VID_03EB&PID_6133&MI_02
"Stm32 USART Port C"=STMUSB, USB\VID_03EB&PID_6133&MI_04
;------------------------------------------------------------------------------
;Windows 2000/XP Sections
;------------------------------------------------------------------------------


include=mdmcpq.inf
CopyFiles=DriverCopyFiles
AddReg=STMUSB.nt.AddReg


usbser.sys,,,0x20


HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"


AddService=usbser, 0x00000002, DriverService



include=mdmcpq.inf


DisplayName=%DESCRIPTION%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys

;------------------------------------------------------------------------------
;String Definitions
;------------------------------------------------------------------------------


STM="STMicroelectronics"
DESCRIPTION="STM32F10x DUAL CDC"


uwyciw100 发表于 2019-5-29 10:01:05

猜测是接口描述符的序号。

donalvincent 发表于 2019-5-29 14:03:11

uwyciw100 发表于 2019-5-29 10:01
猜测是接口描述符的序号。

是接口描述符的序号,下面的帖子找到的
http://www.cnblogs.com/shangdawei/p/4712305.html
页: [1]
查看完整版本: stm32 虚拟多串口pc端驱动