beautypg.com

ADLINK PCI-7396 User Manual

Page 52

background image

44

• C/C++ Libraries

5.12 _7396_Cascaded_Timer

@ Description

The function is used to program the timer#1 & timer#2 of 8254, the 32bit timer,
to generate the timer interrupt .

@ Syntax

C/C++ (DOS)

U16 _7396_Cascaded_Timer (U16 *existCards, U16 c1, U16 c2)

C/C++ (Windows 95)

U16 W_7396_Cascaded_Timer (U16 *existCards, U16 c1, U16 c2)

Visual Basic (Windows 95)

W_7396_Initial (existCards As Integer, ByVal c1 As Integer,

ByVal c2 As Integer)

@ Argument

cardNo :

The card number of PCI7396 card initialized.

c1 : frequency divider of timer #1
c2 : frequency divider of timer #2
About the settings of C1 & C2, please refer to section 3.2.2

@ Return Code

ERR_NoError
ERR_PCIBiosNotExist