upd78f0124hgba1-8et-a Renesas Electronics Corporation., upd78f0124hgba1-8et-a Datasheet - Page 339

no-image

upd78f0124hgba1-8et-a

Manufacturer Part Number
upd78f0124hgba1-8et-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
17.3 Register Controlling Key Interrupt
(1) Key return mode register (KRM)
This register controls the KRM0 to KRM7 bits using the KR0 to KR7 signals, respectively.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears KRM to 00H.
Cautions 1. If any of the KRM0 to KRM7 bits used is set to 1, set bits 0 to 7 (PU70 to PU77) of the
Symbol
Address: FF6EH
KRM
2. If KRM is changed, the interrupt request flag may be set. Therefore, disable interrupts
3. The bits not used in the key interrupt mode can be used as normal ports.
corresponding pull-up resistor register 7 (PU7) to 1.
and then change the KRM register. After that, clear the interrupt request flag and then
enable interrupts.
KRMn
KRM7
Figure 17-2. Format of Key Return Mode Register (KRM)
0
1
7
Does not detect key interrupt signal
Detects key interrupt signal
After reset: 00H
KRM6
CHAPTER 17 KEY INTERRUPT FUNCTION
6
User’s Manual U16962EJ3V0UD
KRM5
5
R/W
KRM4
Key interrupt mode control
4
KRM3
3
KRM2
2
KRM1
KRM0
0
339

Related parts for upd78f0124hgba1-8et-a