4. Using the I/O Address Map
ADI16-4(FIT)GY
23
FIFO Function Overview
The ADI16-4(FIT)GY has FIFO memory for 64 data items, capable of temporarily storing converted
data. Check the following default settings for FIFO memory before use.
Analog input status
Starting
I/O
address
D7
D6
D5
D4
D3
D2
D1
D0
Input
Analog Input Status 1
+23
(17h)
0
0
0
FIFO
Memory
Flag
Calibration
Busy
EEPROM
Busy
0
0
Figure 4.10. Analog input status
-
FIFO Memory Flag [D4]:
The analog input status is set when FIFO memory stores as many items of conversion data as the
number of data items set in the FIFO Flag register. It is cleared by a status reset.
-
Calibration Busy [D3]:
See the “Calibration Data Setting Procedure” section.
-
EEPROM Busy Flag [D2]:
See the “Calibration Data Setting Procedure” section.
FIFO flag register
The FIFO Memory Flag status is set when FIFO memory stores the set number of data items.
Starting
I/O
address
D7
D6
D5
D4
D3
D2
D1
D0
Output
Command
+24
(18h)
0
0
0
0
0
1
1
1
D7
D6
D5
D4
D3
D2
D1
D0
Output
FIFO Flag
+28
(1Ch)
0
Flag Data6 Flag Data5 Flag Data4 Flag Data3 Flag Data2 Flag Data1 Flag Data0
Figure 4.11. FIFO flag register
FIFO flag register setting examples are given below.
outp( ADR+24, 0x7 );
outp( ADR+28, FlagData );