W_9111_AD_Timer (ByVal cardNo As Integer, ByVal c1 As Integer, ByVal c2 As Integer) As Integer
@ Argument |
|
cardNo: | The card number of |
c1: | frequency divider of timer #1 |
c2: | frequency divider of timer #2 |
@Return Code
ERR_NoError
5.29_9111_Counter_Start
@ Description
The counter #0 of the
@ Syntax
C/C++ (DOS)
U16 _9111_Counter_Start (U16 cardNo, U16 mode, U16 c0)
C/C++ (Windows 95)
U16 W_9111_Counter_Start (U16 cardNo, U16 mode, U16 c0)
Visual Basic (Windows 95)
W_9111_Counter_Start (ByVal cardNo As Integer, ByVal mode As Integer, ByVal c0 As Integer) As Integer
@ Argument |
|
cardNo: | The card number of |
Mode: | the 8254 timer mode, the possible values are: |
| TIMER_MODE0, TIMER_MODE1, |
| TIMER_MODE2, TIMER_MODE3, |
| TIMER_MODE4, TIMER_MODE5. |
| Please refer to Counter/Timer 8254's reference |
| manual for more detailed information of timer mode. |
c0: | count value of counter#0 |
@Return Code ERR_NoError
5.30_9111_Counter_Read
@ Description
This function is used to read the count value of the Counter#0.
@ Syntax
C/C++ Library ∙53