12 cascaded timer – CyberResearch PCIDIO 48H User Manual

Page 52

Advertising
background image

C/C++ Libraries

• 43

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

Advertising
This manual is related to the following products: