5.12 Cascaded Timer

@ Description

This function is used to set and start the cascaded timer1 and timer 2 of the on- board timer 8254 .

@ Syntax

C/C++ (DOS)

void _DIO48H_Cascaded_Timer(U16 cardNo, U16 c1, U16 c2);

void _DIO96H_Cascaded_Timer(U16 cardNo, U16 c1, U16 c2);

C/C++ (Windows 95)

void W_DIO48H_Cascaded_Timer(U16 cardNo, U16 c1, U16 c2);

void W_DIO96H_Cascaded_Timer(U16 cardNo, U16 c1, U16 c2);

Visual Basic (Windows 95)

W_DIO48H_Cascaded_Timer (ByVal cardNo As Integer, ByVal c1 As Integer, ByVal c2 As Integer)

W_DIO96H_Cascaded_Timer (ByVal cardNo As Integer, ByVal c1 As Integer, ByVal c2 As Integer)

@ Argument

cardNo:

card number to select board

c1:

the

value

of

divisor

used

in timer 1

c2:

the

value

of

divisor

used

in timer 2

C/C++ Libraries 43