upd78f0114hgb-8es-a Renesas Electronics Corporation., upd78f0114hgb-8es-a Datasheet - Page 334

no-image

upd78f0114hgb-8es-a

Manufacturer Part Number
upd78f0114hgb-8es-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0114HGB-8ES-A
Manufacturer:
PANASONIC
Quantity:
720
16.3 Register Controlling Key Interrupt
334
(1) Key return mode register (KRM)
Cautions 1. If any of the KRM0 to KRM3 bits used is set to 1, set bits 0 to 3 (PU70 to PU73) of the
This register controls the KRM0 to KRM3 bits using the KR0 to KR3 signals, respectively.
This register is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
2. If KRM is changed, the interrupt request flag may be set. Therefore, disable interrupts and
3. The bits not used in the key interrupt mode can be used as normal ports.
Symbol
Address: FF6EH
KRM
corresponding pull-up resistor register 7 (PU7) to 1.
then change the KRM register. After that, clear the interrupt request flag and then enable
interrupts.
KRMn
Figure 16-2. Format of Key Return Mode Register (KRM)
0
1
7
0
Does not detect key interrupt signal
Detects key interrupt signal
After reset: 00H
CHAPTER 16 KEY INTERRUPT FUNCTION
6
0
User’s Manual U16961EJ4V0UD
5
0
R/W
Key interrupt mode control
4
0
KRM3
3
KRM2
2
KRM1
KRM0
0

Related parts for upd78f0114hgb-8es-a