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

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
322
(2) Interrupt mask flag registers (MK0L, MK0H, MK1L)
Caution
Cautions 3. Use the 1-bit memory manipulation instruction (CLR1) for manipulating the flag of the
The interrupt mask flags are used to enable/disable the corresponding maskable interrupt servicing.
MK0L, MK0H, and MK1L are set by a 1-bit or 8-bit memory manipulation instruction. When MK0L and MK0H are
combined to form 16-bit register MK0, they are set by a 16-bit memory manipulation instruction.
RESET input sets these registers to FFH.
Address: FFE4H
Symbol
MK0L
Address: FFE5H
Symbol
MK0H
Address: FFE6H
Symbol
MK1L
Be sure to set bits 6 and 7 of MK1L to 1.
TMMK010
SREMK6
interrupt request flag register. A 1-bit manipulation instruction such as “IF0L.0 = 0;” and
“_asm(“clr1 IF0L, 0”);” should be used when describing in C language, because assembly
instructions after compilation must be 1-bit memory manipulation instructions (CLR1).
If an 8-bit memory manipulation instruction “IF0L & = 0xfe;” is described in C language, for
example, it is converted to the following three assembly instructions after compilation:
In this case, at the timing between “mov a, IF0L” and “mov IF0L, a”, if the request flag of
another bit of the identical interrupt request flag register (IF0L) is set to 1, it is cleared to 0
by “mov IF0L, a”. Therefore, care must be exercised when using an 8-bit memory
manipulation instruction in C language.
Figure 15-3. Format of Interrupt Mask Flag Registers (MK0L, MK0H, MK1L)
XXMKX
1
mov a, IF0L
and
mov IF0L, a
<7>
<7>
Note
7
0
1
After reset: FFH
After reset: FFH
After reset: FFH
a, #0FEH
Interrupt servicing enabled
Interrupt servicing disabled
TMMK000
PMK5
1
<6>
<6>
Note
6
CHAPTER 15 INTERRUPT FUNCTIONS
R/W
R/W
R/W
TMMK50
WTMK
PMK4
<5>
<5>
<5>
User’s Manual U16961EJ4V0UD
TMMKH0
KRMK
PMK3
<4>
<4>
<4>
Interrupt servicing control
TMMKH1
TMMK51
PMK2
<3>
<3>
<3>
DUALMK0
WTIMK
PMK1
<2>
<2>
<2>
STMK6
SRMK0
PMK0
<1>
<1>
<1>
SRMK6
LVIMK
ADMK
<0>
<0>
<0>

Related parts for upd78f0114hgb-8es-a