CHAPTER 17 COMPACTFLASH CONTROLLER (ECU)
User’s Manual U14272EJ3V0UM
335
17.4.2 IF_STAT_REG (Index: 0x01)
Bit
7
6
5
4
3
2
1
0
Name
Reserved
PWRON
RDY/BSY
WP
CD2
CD1
Reserved
BVD1
R/W
R
R
R
R
R
R
R
R
Reset
1
0
Undefined
Undefined
1
1
0
Undefined
Bit
Name
Function
7
Reserved
1 is returned when read
6
PWRON
CompactFlash card power status
0 : Off
1 : On
5
RDY/BSY
CompactFlash card ready/busy status. This bit indicates the current status of
RDY/BSY# (CF_BUSY#) signal from a CompactFlash card.
0 : Busy
1 : Ready
4
WP
Memory write protect switch status. This bit indicates the current status of WP
(CF_IOIS16#) signal from a CompactFlash card.
0 : Off
1 : On
3, 2
CD(2:1)
Complement of the values of CD1# and CD2#
Note
11: Active (low level)
00 : Inactive (high level)
Values other than above are not displayed.
1
Reserved
0 is returned when read
0
BVD1
This bit indicates the current status of STSCHG# (CF_STSCHG#) signal from a
CompactFlash card.
Note The card detect pins, CD1# and CD2#, alternate with GPIO pins. When the GPIO pins are not programmed as
card detect input, the CD(2:1) bits of this register always return 11 (active). In this way, the CompactFlash
interface can be used without the card detect pins. When the GPIO pins are programmed as card detect, the
CD(2:1) bits are reflected in actual status of the CD1# and CD2# pins.