tmp88cs38ng TOSHIBA Semiconductor CORPORATION, tmp88cs38ng Datasheet - Page 24

no-image

tmp88cs38ng

Manufacturer Part Number
tmp88cs38ng
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
1.
2.
Interrupt master enable flag (IMF)
maskable interrupts. Clearing this flag to “0” disables the acceptance of all maskable
interrupts. Setting to “1” enables the acceptance of interrupts.
acceptance of other maskable interrupts. After execution of the interrupt service
program, this flag is set to “1” by the maskable interrupt return instruction [RETI] to
again enable the acceptance of interrupts. If an interrupt request has already been
occurred, interrupt service starts immediately after execution of the [RETI]
instruction.
case, the IMF is set to “1” only when pseudo non-maskable interrupt service is started
with interrupt acceptance enabled (IMF = 1). Note that the IMF remains “0” when
cleared by the interrupt service program.
written by an instruction. The IMF is normally set and cleared by the [EI] and [DI]
instructions, and the IMF is initialized to “0” during reset.
Individual interrupt enable flags (EF
except for an external interrupt 0. Setting the corresponding bit of an individual
interrupt enable flag to “1” enables acceptance of an interrupt, setting the bit to “0”
disables acceptance.
Example 1: Sets EF for individual interrupt enable, and sets IMF to “1”.
Example 2: Sets an individual interrupt enable flag to “1”.
The interrupt master enable flag (IMF) enables and disables the acceptance of all
When an interrupt is accepted, this flag is cleared to “0” to temporarily disable the
Pseudo non-maskable interrupts are returned by the [RETN] instruction. In this
The IMF is assigned to bit0 at address 0003A
These flags enable and disable the acceptance of individual maskable interrupts,
DI
LD
LDW
SET
(EIRE), 00000001B
(EIRL), 1110100010100001B
(EIRH). 4
88CS38-24
17
to EF
3
)
;
;
;
Disable interrupt
EF
EF
EF
H
16
15
12
in the SFR, and can be read and
← 1
to EF
← 1
TMP88CS38/CM38A/CP38A
13
, EF
11
, EF
7
, EF
5
, IMF ← 1
2007-09-12

Related parts for tmp88cs38ng