9 timer start – ADLINK cPCI-7249R User Manual

Page 48

Advertising
background image

40

C/C++ Libraries

5.9 Timer

Start

@ Description

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

@ Syntax

C/C++ (DOS)

void _7248_Timer_Start(U16 cardNo, U16 timer0Mode, U16 c0)

void _7249_Timer_Start(U16 cardNo, U16 timer0Mode, U16 c0)

void _7296_Timer_Start(U16 cardNo, U16 timer0Mode, U16 c0)

C/C++ (Windows 95)

void W_7248_Timer_Start(U16 cardNo, U16 timer0Mode,

U16 c0)

void W_7249_Timer_Start(U16 cardNo, U16 timer0Mode,

U16 c0)

void W_7296_Timer_Start(U16 cardNo, U16 timer0Mode,

U16 c0)

Visual Basic (Windows 95)

W_7248_Timer_Start(ByVal cardNo As Integer, ByVal

timer0Mode As Integer, ByVal c0 As Integer)

W_7249_Timer_Start(ByVal cardNo As Integer, ByVal

timer0Mode As Integer, ByVal c0 As Integer)

W_7296_Timer_Start(ByVal cardNo As Integer, ByVal

timer0Mode As Integer, ByVal c0 As Integer);

@ Argument

cardNo:

card number to select board

timer0Mode: the six modes of 8254, please refer to section

4.2.2 for detailed description

c0:

the counter/timer value of time0.

Advertising
This manual is related to the following products: