tmp86fh46bng TOSHIBA Semiconductor CORPORATION, tmp86fh46bng Datasheet - Page 49

no-image

tmp86fh46bng

Manufacturer Part Number
tmp86fh46bng
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FH46BNG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
3. Interrupt Control Circuit
3.1
Internal/External
plexed. Interrupts can be nested with priorities. Four of the internal interrupt sources are non-maskable while the
rest are maskable.
tors. The interrupt latch is set to “1” by the generation of its interrupt request which requests the CPU to accept
its interrupts. Interrupts are enabled or disabled by software using the interrupt master enable flag (IMF) and inter-
rupt enable flag (EF). If more than one interrupts are generated simultaneously, interrupts are accepted in order
which is dominated by hardware. However, there are no prioritized interrupt factors among non-maskable interrupts.
fined instruction interrupt. When interrupt request is generated, the latch is set to “1”, and the CPU is requested
to accept the interrupt if its interrupt is enabled. The interrupt latch is cleared to "0" immediately after accepting in-
terrupt. All interrupt latches are initialized to “0” during reset.
dividually by instruction. However, IL2 and IL3 should not be cleared to "0" by software. For clearing the inter-
rupt latch, load instruction should be used and then IL2 and IL3 should be set to "1". If the read-modify-write instruc-
tions such as bit manipulation or operation instructions are used, interrupt request would be cleared inadequately
if interrupt is requested while such instructions are executed.
The TMP86FH46BNG has a total of 18 interrupt sources excluding reset, of which 2 source levels are multi-
Interrupt sources are provided with interrupt latches (IL), which hold interrupt requests, and independent vec-
Interrupt latches (IL15 to IL2)
An interrupt latch is provided for each interrupt source, except for a software interrupt and an executed the unde-
The interrupt latches are located on address 003CH and 003DH in SFR area. Each latch can be cleared to "0" in-
Interrupt latches are not set to “1” by an instruction.
External
External
External
External
External
External
Note 1: The INTSEL register is used to select the interrupt source to be enabled for each multiplexed source level (see 3.3 In-
Note 2: To use the address trap interrupt (INTATRAP), clear WDTCR1<ATOUT> to “0” (It is set for the “reset request” after re-
Note 3: To use the watchdog timer interrupt (INTWDT), clear WDTCR1<WDTOUT> to "0" (It is set for the "Reset request" af-
Internal
Internal
Internal
Internal
Internal
Internal
Internal
Internal
Internal
Internal
Internal
Internal
terrupt Source Selector (INTSEL)).
set is cancelled). For details, see “Address Trap”.
ter reset is released). For details, see "Watchdog Timer".
(Reset)
INTSWI (Software interrupt)
INTUNDEF (Executed the undefined instruction
interrupt)
INTATRAP (Address trap interrupt)
INTWDT (Watchdog timer interrupt)
INT0
INT1
INTTBT
INTTC1
INT2
INTTC4
INTTC3
INT3
INTSIO
INTRXD
INT4
INTTXD
INT5
INTADC
Interrupt Factors
Page 31
Non-maskable
Non-maskable
Non-maskable
Non-maskable
Non-maskable
IMF・ EF4 = 1, INT0EN = 1
IMF・ EF5 = 1
IMF・ EF6 = 1
IMF・ EF7 = 1
IMF・ EF8 = 1
IMF・ EF9 = 1
IMF・ EF10 = 1
IMF・ EF11 = 1
IMF・ EF12 = 1
IMF・ EF13 = 1
IMF・ EF14 = 1, IL14ER = 0
IMF・ EF14 = 1, IL14ER = 1
IMF・ EF15 = 1, IL15ER = 0
IMF・ EF15 = 1, IL15ER = 1
Enable Condition
Interrupt
Latch
IL10
IL11
IL12
IL13
IL14
IL15
IL2
IL3
IL4
IL5
IL6
IL7
IL8
IL9
-
-
-
TMP86FH46BNG
Vector Ad-
FFFE
FFFC
FFFC
FFFA
FFEE
FFEC
FFEA
dress
FFF8
FFF6
FFF4
FFF2
FFF0
FFE8
FFE6
FFE4
FFE2
FFE0
Priority
10
11
12
13
14
15
16
1
2
2
2
2
5
6
7
8
9

Related parts for tmp86fh46bng