www.DataSheet4U.com
CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION
471
(3) Key return mode register (KRM)
This register set the standby mode clear enable/disable with the 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 18-20. Key Return Mode Register Format
Caution
When falling edge detection is used in Port 4, take care to clear KRIF to 0 (KRIF is not automatically
cleared to 0).
18.5.2 Test input signal acknowledge operation
(1) Internal test input signal
An internal test input signal (INTWT) is generated when the watch timer overflows and the WTIF flag is set by
it. At this time, the standby release signal is generated if it is not masked by the interrupt mask flag (WTMK).
By checking the WTIF flag in a cycle shorter than the overflow cycle of the watch timer, the watch function can
be effected.
(2) External test input signal
If a falling edge is input to a pin of port 4 (P40 to P47), an external test input signal (INTP4) is generated, setting
the KRIF flag. At this time, the standby release signal is generated if it is not masked by the interrupt mask flag
(KRMK). By using port 4 for key return signal input of a key matrix, the presence or absence of a key input can
be checked by the status of the KRIF flag.
Symbol
7
6
5
4
3
2
<1>
<0>
Address
When Reset
R/W
KRM
0
0
0
0
0
0
KRMK
KRIF
FFF6H
02H
R/W
KRIF
Key return signal detection flag
0
Non detection
1
Detection (falling edge detection of Port 4)
KRMK
Standby mode control with key return signal
0
Standby mode clear enabled
1
Standby mode clear disabled
Содержание 78014Y Series
Страница 2: ...www DataSheet4U com 2 MEMO...
Страница 8: ...www DataSheet4U com 8 MEMO...
Страница 22: ...www DataSheet4U com 22 MEMO...
Страница 30: ...www DataSheet4U com 30 MEMO...
Страница 34: ...www DataSheet4U com 34 MEMO...
Страница 62: ...www DataSheet4U com CHAPTER 2 OUTLINE PD78014Y Subseries 62 MEMO...
Страница 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION PD78014 Subseries 78 MEMO...
Страница 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION PD78014Y Subseries 94 MEMO...
Страница 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO...
Страница 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO...
Страница 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO...
Страница 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO...
Страница 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 PD78014 Subseries 318 MEMO...
Страница 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 PD78014Y Subseries 408 MEMO...
Страница 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO...
Страница 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO...
Страница 502: ...www DataSheet4U com CHAPTER 22 PD78P014 78P014Y 502 MEMO...
Страница 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO...