Electronics America 8-Bit Single-Chip Microcontrollers User's Manual

155
CHAPTER 6 PORT FUNCTIONS
KRIF
Key Return Signal Detection Flag
0
1
Not Detected
Detected (Falling edge detection of port 4)
000 0KRM FFF6H
765432Symbol
<1>
0 KRMK KRIF
<0>
0
KRMK
Standby Mode Control by Key Return Signal
0
1
Standby mode release enabled
Standby mode release disabled
Address
After
Reset
R/W
02H R/W
(4) Key return mode register (KRM)
This register sets enabling/disabling of standby function release by a key return signal (falling edge detection
of port 4).
KRM is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets KRM to 02H.
Figure 6-22. Key Return Mode Register Format
Caution When falling edge detection of port4 is used, KRIF should be cleared to 0 (not cleared to 0
automatically).