CHAPTER 14 INTERRUPT FUNCTIONS
User’s Manual U15075EJ1V0UM00
271
(6)
Key return mode register 00 (KRM00)
This register sets the pin that detects a key return signal (falling edge of port 0).
KRM00 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets KRM00 to 00H.
Figure 14-7. Format of Key Return Mode Register 00
0
1
0
0
0
0
0
0
0
KRM000
KRM00
FFF5H
00H
R/W
Address
After reset
R/W
Key return signal detection control
No detection
Detection (detecting falling edge of port 0)
6
5
4
3
2
1
7
0
KRM000
Symbol
Cautions 1. Bits 1 to 7 must be set to 0.
2. Before setting KRM00, always set bit 6 of MK1 (KRMK00 = 1) to disable interrupts. After
setting KRM00, clear KRMK00 after clearing bit 6 of IF1 (KRIF00 = 0) to enable interrupts.
3. When P00 to P03 are in input mode, on-chip pull-up resistors are connected to P00 to P03 by
the setting of KRM000. After switching to output mode, the on-chip pull-up resistors are cut
off. However, key return signal detection continues.
Figure 14-8. Block Diagram of Falling Edge Detector
P00/KR0
P01/KR1
P02/KR2
P03/KR3
Falling edge detector
KRMK00
KRIF00 set signal
Standby release
signal
Key return mode register 00 (KRM00)
Note
Selector
Note
Selector that selects the pin used for falling edge input
Summary of Contents for mPD789425
Page 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Page 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Page 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Page 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Page 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Page 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Page 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Page 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Page 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Page 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Page 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Page 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Page 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...