阅读:1969回复:0
请教:DirectMaster 方式里面的MailBOX要怎么设置?
各位高手,在PCI9054的API函数里,用DirectMaster方式传输。需要用一下API函数
// Get the PLX driver reserved buffer PCI address, stored in Mailbox 3 PciAddress = PlxRegisterMailboxRead( PrimaryPciBus, MailBox3 &rc ); // Read data from the PCI buffer rc = PlxBusPciRead( PrimaryPciBus, PciMemSpace, PciAddress, (VOID*)buffer, 0x100, BitSize8 ); 请教,那个MailBox3需要怎么设置? |
|