tmp89fm42 TOSHIBA Semiconductor CORPORATION, tmp89fm42 Datasheet - Page 65

no-image

tmp89fm42

Manufacturer Part Number
tmp89fm42
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42AUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp89fm42LUG
Manufacturer:
ST
Quantity:
500
Part Number:
tmp89fm42LUG
Manufacturer:
TOSHIBA
Quantity:
745
Part Number:
tmp89fm42LUG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
tmp89fm42LUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp89fm42UG
Manufacturer:
PROCONN
Quantity:
3 705
Part Number:
tmp89fm42UG
Manufacturer:
TOSHIBA/PBF
Quantity:
29
Part Number:
tmp89fm42UG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp89fm42UG
0
Company:
Part Number:
tmp89fm42UG
Quantity:
15 795
Company:
Part Number:
tmp89fm42UG
Quantity:
2 400
Part Number:
tmp89fm42UG(C
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp89fm42UG(C,JZ)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp89fm42UG(CZHZ)
0
Part Number:
tmp89fm42UG(JZ)
Manufacturer:
Toshiba
Quantity:
10 000
RA003
3.3 Interrupt Enable Register (EIR)
3.3.1 Interrupt master enable flag (IMF)
3.3.2 Individual interrupt enable flags (EF25 to EF4)
interrupts (software interrupt, undefined instruction interrupt and watchdog interrupt). Non-maskable interrupts are
accepted regardless of the contents of the EIR.
registers are located at addresses 0x003A, 0x003B, 0x003C, 0x003D in the SFR area, and they can be read and writ-
ten by instructions (including read-modify-write instructions such as bit manipulation or operation instructions).
The interrupt enable register (EIR) enables and disables the acceptance of interrupts, except for the non-maskable
The EIR consists of the interrupt master enable flag (IMF) and the individual interrupt enable flags (EF). These
ing the IMF to "0" disables the acceptance of all maskable interrupts. Setting the IMF to "1" enables the accep-
tance of the interrupts that are specified by the individual interrupt enable flags.
subsequent maskable interrupts. After the interrupt service routine is executed, the stacked data, which was the
status before interrupt acceptance, reloaded on the IMF by return interrupt instruction [RETI]/[RETN].
The IMF is normally set and cleared by [EI] and [DI] instructions respectively. During reset, the IMF is initial-
ized to "0".
bit of an individual interrupt enable flag to "1" enables acceptance of its interrupt, and setting the bit to "0" dis-
ables acceptance.
accepted until the flags are set to "1".
The interrupt master enable flag (IMF) enables and disables the acceptance of all maskable interrupts. Clear-
When an interrupt is accepted, the IMF is stacked and then cleared to "0", which temporarily disables the
The IMF is located on bit 0 in EIRL (Address: 0x03A in SFR), and can be read and written by instructions.
Each of these flags enables and disables the acceptance of its maskable interrupt. Setting the corresponding
During reset, all the individual interrupt enable flags are initialized to "0" and no maskable interrupts are
Note:In the main program, before manipulating the interrupt enable flag (EF), be sure to clear the master enable
Example: Enables interrupts individually and sets IMF
flag (IMF) to "0" (Disable interrupt by DI instruction). Then set the IMF to "1" as required after operating the EF
(Enable interrupt by EI instruction).
In the interrupt service routine, the IMF becomes "0" automatically and need not be cleared to "0" normally.
However, if using multiple interrupt in the interrupt service routine, manipulate the EF before setting the IMF to
"1".
DI
LDW
EI
:
:
(EIRL), 0y1110100010100000
Page 51
; IMF m 0
;
;
; IMF m 1
EF15 to EF13, EF11, EF7, EF5 m 1
Note: IMF should not be set.
TMP89FM42

Related parts for tmp89fm42