9 timer start – CyberResearch PCIDIO 48H User Manual
Page 49

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 _
DIO48H
_Timer_Start(U16 cardNo, U16 timer0Mode,
U16 c0)
void _
DIO96H
_Timer_Start(U16 cardNo, U16 timer0Mode,
U16 c0)
C/C++ (Windows 95)
void W_
DIO48H
_Timer_Start(U16 cardNo, U16 timer0Mode,
U16 c0)
void W_
DIO96H
_Timer_Start(U16 cardNo, U16 timer0Mode,
U16 c0)
Visual Basic (Windows 95)
W_
DIO48H
_Timer_Start(ByVal cardNo As Integer, ByVal
timer0Mode As Integer, ByVal c0 As Integer)
W_
DIO96H
_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.