PCI-82x Series Cards
Multifunction Boards
User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 60
External Post-Trigger (Multi-c External Trigger)
//Disable the Pacer Trigger
outpw(wBase+0x18,0x4000);
//Disable the Interrupt
outpw(wBase+0x1C,0x0000);
//Set the Base Frequency to 8 MHz
//Set the Total Number of Scan Channels to 3
//Set the Trigger Edge to Rising and Enable External Trigger Mode
outpw( wBase+0x14,(0x8003|2<<3));
//Set the Frequency to 8 MHz/200 = 40 KHz
outpw(wBase +0x08,0xC8);
//Set the first channel number to 2
outpw(wBase+0x10,0x8032|(0<<10));
//Set the second channel number to 0
outpw(wBase+0x10,0x8030|(1<<10));
//Set the third channel number to 7
outpw(wBase+0x10,0x8037|(2<<10));
//Enable the Interrupt and set it to FIFO-Half Full & External Trigger Mode
outpw(wBase+0x1C,0x8002);