
Manual Number: 00650-004-5
Page 8-2
ADIO1600 Manual
Most-significant byte:
7
B
6
B
5
B
4
B
3
B
2
B
1
B
0
B
x
x
x
x
1
1
A
D
0
1
A
D
9
A
D
8
A
D
DA8-DA11:
The four most-significant bits of the output.
X:
Don=t care bits. It is good programming practice to set these to 0.
The following example shows how to output data in "C" and is readily translatable to other lan-
guages. Since the D/As have 12-bit resolution, data should be in the range 0 to 4095 decimal or
two=s complement if selected by the jumper JP5 on the card.
unsigned value;
/* this is our output variable */
value = 2048;
/* we will output half scale */
outportb(base_address + 8,value & 0xff);
/* extract and output lower byte of
count */
outportb(base_address + 9,value / 256);
/* extract and output upper byte of
count */
An assembly language routine is even simpler. Assume AX contains the data and DX contains the
card base I/O a 8. To write to D/A #0:
OUT
DX,AX;
write to D/A #0
Содержание ADIO1600 Series
Страница 1: ...ADIO1600 Series Product Manual MANUAL NUMBER 00650 004 5D ...
Страница 4: ...Page iv This page intentionally left blank ...
Страница 8: ...Page viii This page intentionally left blank ...
Страница 17: ...Manual Number 00650 004 5 Page 2 4 ADIO1600 Manual Figure 2 1 ADIO1600 Block Diagram ...