Intel cPCI-7200 Switch User Manual


 
C/C++ Libraries
49
5.27 _7200_DI_Timer
@ Description
This function is used to set the internal timer pacer for digital input. There are
two configurations for the internal timer pacer :
1. Non-cascaded (One COUNTER 0 only)
Counter 0
CLK0
GATE0
OUT0
8254 Timer/Counter
4MHz Input
Digital Input Trigger
Timer pacer frequency = 4Mhz / C0
2. Cascaded (TIME2 cascaded with COUNTER0)
Counter 0
Counter 1
Counter 2
CLK0
GATE0
OUT0
CLK1
GATE1
CLK2
GATE2
OUT1
OUT2
8254 Timer/Counter
4MHz Input
Digital Input Trigger
Timer pacer frequency = 4Mhz / (C0 * C2)
@ Syntax
Visual C++ (Windows 95)
int W_7200_DI_Timer (U16 c0, U16 c2, Boolean mode)
Visual Basic (Windows 95)
W_7200_DI_Timer ( ByVal c0 As Integer, ByVal c2 As Integer,
ByVal mode As Byte ) As Long
C/C++ (DOS)
int _7200_DI_Timer (U16 c0, U16 c2, Boolean mode)
@ Argument
c0 : frequency divider of Counter #0. Valid value ranges from 2 to
65535.
c2 : frequency divider of Counter #2. Valid value ranges from 2 to
65535.