Intel PCI-7200 Switch User Manual


 
50
C/C++ Libraries
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 c0 or c2 as
value larger than 32767, please set it as the intended value minus
65536. For example, if you want to set c0 as 40000, please set c0 as
40000-65536=-25536.
mode : TIMER_NONCASCADE or TIMER_CASCADE
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
ERR_InvalidTimerMode
ERR_BoardNoInit
5.28 _7200_DO_Timer
@ Description
This function is used to set the internal timer pacer for digital output. There
are two configurations for the internal timer pacer :
1. Non-cascaded (One COUNTER 0 only)
Counter 1
CLK0
GATE0
OUT0
8254 Timer/Counter
4MHz Input
Digital Output Trigger
Timer pacer frequency = 4Mhz / C1
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 / (C1 * C2)