新闻中心

EEPW首页>模拟技术>设计应用> pci卡设计心得

pci卡设计心得

作者: 时间:2012-04-18 来源:网络 收藏
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;
}


关键词:pci卡

评论


相关推荐

技术专区

关闭