[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial0]
"Dll"="AtlasSerial.Dll"
"IoBase"=dword:AB000000 ; IF UseUART0
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"Order"=dword:1
"FriendlyName"="Serial Cable on UART0 Atlas Debugging Board"
"Priority256"=dword:41
;"Index"=dword:2
IF BSP_ATLAS_BLUETOOTH
"Index"=dword:4 ;Assign COM4 for bluetooth
ENDIF ;BSP_ATLAS_BLUETOOTH
我只知道因为你的BLUETOOTH是使用标准的UART driver,而UART driver又是BuiltIn的驱动,所以只要开机就回Load起来,
而且调用COM_open函数.一般UART接口驱动工作方式都是这样的,LZ为啥要改成那样呢? |