Download Intel cPCI-7200 User's Manual
Transcript
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) 8254 Timer/Counter 4MHz Input Counter 0 CLK0 GATE0 OUT0 Digital Input Trigger Timer pacer frequency = 4Mhz / C0 2. Cascaded (TIME2 cascaded with COUNTER0) 8254 Timer/Counter Counter 0 CLK0 GATE0 OUT0 Digital Input Trigger Counter 1 CLK1 GATE1 OUT1 4MHz Input Counter 2 CLK2 GATE2 OUT2 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 65535. c2 : frequency divider of Counter #2. Valid value 65535. ranges from 2 to ranges from 2 to C/C++ Libraries • 49