509
CHAPTER 21 INTERRUPT AND TEST FUNCTIONS
7
0
Symbol
KRM
6
0
5
0
4
0
3
0
2
0
<1>
KRMK
<0>
KRIF
Address
FFF6H
02H
When
Reset
R/W
R/W
0
1
Key Return Signal
Not detected
Detected (port 4 falling edge detection)
KRIF
0
1
Standby Mode Control by Key Return Signal
Standby mode release enabled
Standby mode release disabled
KRMK
(3) Key return mode register (KRM)
This register is used to set enable/disable of standby function clear by key return signal (port 4 falling edge
detection).
KRM is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets KRM to 02H.
Figure 21-21. Key Return Mode Register Format
Caution
When port 4 falling edge detection is used, be sure to clear KRIF to 0 (not cleared to 0
automatically)
21.5.2 Test input signal acknowledge operation
(1) Internal test signal
The internal test input signal (INTWT) is generated with watch timer overflow, and the WTIF flag is set. If not
masked with bit 7 (WTMK) of interrupt mask flag register 1L (MK1L) at this time, a standby release signal is
generated. The watch function is available by checking the WTIF flag using a shorter cycle than the watch
timer overflow cycle.
(2) External test signal
When a falling edge (external test input signal) is input to the port 4 (P40 to P47) pins, KRIF is set. If not masked
with bit 1 (KRMK) of key return mode register (KRM) at this time, a standby release signal is generated. If
port 4 is used as key matrix return signal input, whether or not a key input has been applied can be checked
from the KRIF status.
Summary of Contents for PD78052
Page 2: ...2 MEMO ...
Page 8: ...8 MEMO ...
Page 16: ...16 MEMO ...
Page 36: ...36 MEMO ...
Page 158: ...158 MEMO ...
Page 174: ...174 MEMO ...
Page 240: ...240 MEMO ...
Page 260: ...260 MEMO ...
Page 340: ...340 MEMO ...
Page 392: ...392 MEMO ...
Page 438: ...438 MEMO ...
Page 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Page 510: ...510 MEMO ...
Page 524: ...524 MEMO ...
Page 560: ...560 MEMO ...
Page 576: ...576 MEMO ...
Page 598: ...598 MEMO ...
Page 602: ...602 MEMO ...