User`s guide

48 C/C++ Library for DOS
@ Syntax
int _8111_INT_Start( int ad_ch_no, int ad_range,
int irq_ch_no, int count, int *ad_buffer,
unsigned int c1, unsigned int c2)
@ Argument:
ad_ch_no: A/D channel number
ad_range: A/D analog input range, please refer to
section 6.9 for the possible values.
irq_ch_no: IRQ channel number used to transfer AD data,
the possible value is defined in ' 8111.h '
count: the numbers of A/D conversion
ad_buffer: the start address of the memory buffer to
store the A/D data, the buffer size must be
large than the number of A/D conversion.
c1: the 16-bit timer frequency divider of timer
channel #1
c2: the 16-bit timer frequency divider of timer
channel #2
@ Return Code:
ERR_NoError
ERR_InvalidTimerValue
ERR_BoardNoInit
ERR_InvalidADChannel
ERR_AD_InvalidRange
ERR_InvalidIRQChannel
@ Example:
See demo Program 'AD_Demo2.C'