
ACROSSER TECHNOLOGY
22
Function 1 - Read Input Data
Purpose
This function checks End of Conversion and returns the
analog input data if data is available. Before read data by
using function 1, ADC must be triggered by function 0.
Otherwise error code 2 will be returned.
Input Arguments
The following input arguments have to be initialized
before calling the function.
AH = 1, specifies function 1.
DX = The I/O port base address. Base address can be
located between 100H and 3FCH.
Returns
AL = 0, Good return.
= 1, Conversion is still in process.
= 2, ADC has not been triggered by function 0.
= 3, Analog input is out of range (-5V to +5V).
CX = Converted data. The returned data has the
following formats:
CH
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
SIGN
AD11 AD10
AD9
AD8
CL
D7
D6
D5
D4
D3
D2
D1
D0
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
Содержание AR-B3001
Страница 4: ...ACROSSER TECHNOLOGY 4 This page is intentionally left blank...
Страница 6: ...ACROSSER TECHNOLOGY 6 Figure 2 1 Board Layout of AR B3001...
Страница 14: ...ACROSSER TECHNOLOGY 14 This page is intentionally left blank...
Страница 28: ...ACROSSER TECHNOLOGY 28 This page is intentionally left blank...
Страница 41: ...ACROSSER TECHNOLOGY 41...