CyberResearch PCIDIO 24H Computer Hardware User Manual


 
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.