新聞中心

pci卡設(shè)計(jì)心得

作者: 時(shí)間:2012-04-18 來(lái)源:網(wǎng)絡(luò) 收藏
xt-size-adjust: auto; -webkit-text-stroke-width: 0px">pciinf->BIST=(UCHAR)((buf[3]0xff000000)/0x1000000);
pciinf->BaseAddresses[0]=buf[4];
pciinf->BaseAddresses[1]=buf[5];
pciinf->BaseAddresses[2]=buf[6];
pciinf->BaseAddresses[3]=buf[7];
pciinf->BaseAddresses[4]=buf[8];
pciinf->BaseAddresses[5]=buf[9];
pciinf->SubsystemVendorID=(USHORT)(buf[11]0xffff);
pciinf->SubsystemID=(USHORT)((buf[12]0xffff0000)/0x10000);
pciinf->InterruptLine=(UCHAR)(buf[15]0xff);
pciinf->InterruptPin=(UCHAR)((buf[15]0xff00)/0x100);
pciinf->MinimumGrant=(UCHAR)((buf[15]0xff0000)/0x10000);
pciinf->MaximumLatency=(UCHAR)((buf[15]0xff000000)/0x1000000);
break;
}


關(guān)鍵詞: pci卡

評(píng)論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉