PCI-1202/1602/180x Series Card
Multi-Function Boards
User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 77
The external trigger functions are given as follows:
Driver Name
Demo program
Applications
P180X_StartScanPostTrg(…)
demo23.c
for PCI-1800/1802 ver-C & ver-F
P180X_StartScanPreTrg(…)
demo24.c
for PCI-1800/1802 ver-F
P180X_StartScanMiddleTrg(…)
demo25.c
for PCI-1800/1802 ver-F
P180X_StartScanPreTrgOld(…)
demo26.c
for PCI-1800/1802 ver-C
P180X_StartScanMiddleTrgOld(…)
demo27.c
for PCI-1800/1802 ver-C
P1202_StartScanPostTrg(…)
demo23.c
for PEX-1202/PCI-1202
P1202_StartScanPreTrg(…)
demo24.c
for PEX-1202/PCI-1202
P1202_StartScanMiddleTrg(…)
demo25.c
for PEX-1202/PCI-1202
P1602_StartScanPostTrg(…)
demo23.c
for PCI-1602
P1602_StartScanPreTrg(…)
demo24.c
for PCI-1602
P1602_StartScanMiddleTrg(…)
demo25.c
for PCI-1602
6.5.1.5 Bit15: Clear FIFO Bit
The
B15 is used to reset the on-board FIFO
. When set
to low, FIFO will be cleared. The FIFO must be cleared
once after power-on.
The demo program of handshaking is given as follows:
// Clear FIFO to clear all data
outport(wAddrCtrl,0x2000);
/* Bit15=0=clear FIFO, Bit13=1=not PIC cmd */
outport(wAddrCtrl,0xA000);
/* Bit15=1=no reset FIFO, Bit13=1=not PIC cmd */
Command
[B15]
Clear FIFO
0
No Reset FIFO
1