12 cascaded timer – ADLINK cPCI-7249R User Manual

Page 51

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 _7248_Cascaded_Timer(U16 cardNo, U16 c1, U16 c2);

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

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

C/C++ (Windows 95)

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

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

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

Visual Basic (Windows 95)

W_7248_Cascaded_Timer (ByVal cardNo As Integer, ByVal

c1 As Integer, ByVal c2 As Integer)

W_7249_Cascaded_Timer (ByVal cardNo As Integer, ByVal

c1 As Integer, ByVal c2 As Integer)

W_7296_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: