E m b e d d e d S o l u t i o n s P g 1 0 o f 2 0
Status Register
Ip_cf_stat $04 IP-CF Status read/write
Direct Data
DATA BIT
DESCRIPTION
15-9
undefined read-only
8
‘0’
7-6
CD22-CD21 external device
5-4
CD12-CD11 internal device
3
‘0’
2
IREQ
1
PDIAG – Passed Diagnostics
0
DASP – Device Active Slave Present
FIGURE 3
IP-CF STATUS BIT MAP
Bits marked ‘0’ are set to ‘0’. Bits marked undefined are used for special purposes and
will not return predicable status – should be masked off.
CD are the Card Detect bits for the two potential CompactFLASH devices. The internal
socket is device 1. The card detect bits can be used to determine if a CompactFLASH
device is installed. The bits are active low => “00” when a card is installed and “11”
when no device is present. The type of device installed can be read from the Identify
Drive table located within the CompactFLASH device.
IREQ is the interrupt request from the CompactFLASH before it is gated with the master
interrupt enable. The interrupt can be polled from the status register if non – interrupt
driven operation is preferred.
Passed Diagnostics and Device Active Slave Present are status signals created by the
CompactFLASH device(s) and read through the status register. For an exact definition
of the bits please refer to the CompactFLASH manual.