beautypg.com

ADLINK PCI-7396 User Manual

Page 53

background image

C/C++ Libraries

• 45

5.13 _7396_Timer_Start

@ Description

The function is used to program the timer#0 of 8254, 16bit timer, to generate
the event interrupt .

@ Syntax

C/C++ (DOS, Windows 95)

U16 _7396_Timer_Start (U16 *existCards, U16 timer_mode, U16 c0)

C/C++ (DOS, Windows 95)

U16 W_7396_Timer_Start (U16 *existCards, U16 timer_mode, U16 c0)

Visual Basic (Windows 95)

W_7396_Initial (existCards As Integer, ByVal timer_mode As

Integer, ByVal c0 As Integer)

@ Argument

cardNo:

The card number of PCI7396 card initialized.

timer_mode: 8254 operating mode
c0: frequency divider of timer #0

@ Return Code

ERR_NoError
ERR_PCIBiosNotExist