Intel cPCI-7200 Switch User Manual


 
C/C++ Libraries
51
@ Syntax
Visual C++ (Windows 95)
int W_7200_DO_Timer (U16 c1, U16 c2, Booelan mode)
Visual Basic (Windows 95)
W_7200_DO_Timer (ByVal c1 As Integer, ByVal c2 As Integer,
ByVal mode As Byte) As Long
C/C++ (DOS)
int _7200_DO_Timer (U16 c1, U16 c2, Boolean mode)
@ Argument
c1 : frequency divider of Counter #1
c2 : frequency divider of Counter #2
Note : Since the Integer type in Visual Basic is signed integer. Its range is
within -32768 and 32767. In Visual Basic, if you want to set c1 or c2
as value larger than 32767, please set it as the intended value minus
65536. For example, if you want to set c1 as 40000, please set c1 as
40000-65536 = -25536.
mode : TIMER_NONCASCADE or TIMER_CASCADE
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
ERR_InvalidTimerMode
ERR_BoardNoInit