Intel LPCI-7200S Network Card User Manual


 
58
C/C++ Libraries
@ 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 a signed integer. Its range is
within -32768 and 32767. In Visual Basic, to set c1 or c2 to a value
larger than 32767, set it as the intended value minus 65536. For
example, to set c0 as 40000, set c0 as 40000-65536=-25536.
mode: TIMER_NONCASCADE or TIMER_CASCADE
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
ERR_InvalidTimerMode
ERR_BoardNoInit