62
•
C/C++ Library
5.22 _8216_Timer_Start
@ Description
The Timer #0 on the ACL-8216 can be freely programmed by the
users. This function is used to program the Timer #0. This timer can
be used as frequency generator if internal clock is used. It also can
be used as event counter if external clock is used. All the 8254
mode are available.
@ Syntax
int _8216_Timer_Start( int timer_mode, unsigned int c0 )
@ Argument
timer_mode:
the 8253 timer mode, the possible
values are:
TIMER_MODE0, TIMER_MODE1,
TIMER_MODE2, TIMER_MODE3,
TIMER_MODE4, TIMER_MODE5.
c0:
the counter value of timer
@ Return Code
ERR_NoError
ERR_BoardNoInit
ERR_InvalidTimerMode
ERR_InvalidTimerValue
@ Example
See demo program 'TMR_DEMO.C'
5.23 _8216_Timer_Read
@ Description
This function is used to read the counter value of the Timer #0.
@ Syntax
int _8216_Timer_Read( unsigned int *counter_value )
@ Argument
counter_value:
the counter value of the Timer #0
@ Return Code
ERR_NoError
ERR_BoardNoInit
@ Example
See demo program 'TMR_DEMO.C'
Содержание NuDAQ ACL-8216
Страница 1: ...N u D A Q ACL 8216 16 bit High Resolution Data Acquisition Card User s Guide...
Страница 3: ......
Страница 7: ......
Страница 14: ...Installation 7 Figure 2 1 PCB Layout of the ACL 8216...
Страница 17: ...10 Installation...
Страница 27: ......
Страница 45: ......
Страница 55: ...48 C C Library...
Страница 58: ...C C Library 51...
Страница 62: ...C C Library 55 int count int ad_buffer unsigned int c1 unsigned int c2...
Страница 65: ...58 C C Library...
Страница 71: ......
Страница 75: ......
Страница 77: ......