tmp86c408idmg TOSHIBA Semiconductor CORPORATION, tmp86c408idmg Datasheet - Page 47

no-image

tmp86c408idmg

Manufacturer Part Number
tmp86c408idmg
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
3.3 Interrupt Source Selector (INTSEL)
3.4 Interrupt Sequence
Interrupt source selector
3.4.1 Interrupt acceptance processing is packaged as follows.
(003EH)
INTSEL
interrupt latch only when it is selected in the INTSEL register. The interrupt controller does not hold interrupt
requests corresponding to interrupt sources that are not selected in the INTSEL register. Therefore, the INTSEL reg-
ister must be set appropriately before interrupt requests are generated.
“0” by resetting or an instruction. Interrupt acceptance sequence requires 8 machine cycles (2 µs @16 MHz) after the
completion of the current instruction. The interrupt service task terminates upon execution of an interrupt return
instruction [RETI] (for maskable interrupts) or [RETN] (for non-maskable interrupts). Figure 3-1 shows the timing
chart of interrupt acceptance processing.
Each interrupt source that shares the interrupt source level with another interrupt source is allowed to enable the
The following interrupt sources share their interrupt source level; the source is selected on the register INTSEL.
Note: Always set "0" to bit 5 of INTSEL register.
An interrupt request, which raised interrupt latch, is held, until interrupt is accepted or interrupt latch is cleared to
1. INTTC4 and INT3 share the interrupt source level whose priority is 12.
Note:When the contents of PSW are saved on the stack, the contents of IMF are also saved.
a. The interrupt master enable flag (IMF) is cleared to “0” in order to disable the acceptance of any fol-
b. The interrupt latch (IL) for the interrupt source accepted is cleared to “0”.
c. The contents of the program counter (PC) and the program status word, including the interrupt master
d. The entry address (Interrupt vector) of the corresponding interrupt service program, loaded on the vec-
e. The instruction stored at the entry address of the interrupt service program is executed.
7
-
lowing interrupt.
enable flag (IMF), are saved (Pushed) on the stack in sequence of PSW + IMF, PCH, PCL. Mean-
while, the stack pointer (SP) is decremented by 3.
tor table, is transferred to the program counter.
IL11ER
6
-
5
-
Selects INTTC4 or INT3
IL11ER
4
3
-
Page 37
2
-
1
-
0: INTTC4
1: INT3
0
-
(Initial value: ***0 ****)
TMP86C408IDMG
R/W

Related parts for tmp86c408idmg