tmp89ch42 TOSHIBA Semiconductor CORPORATION, tmp89ch42 Datasheet - Page 66

no-image

tmp89ch42

Manufacturer Part Number
tmp89ch42
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
3.3
Interrupt Enable Register (EIR)
RA003
Interrupt enable register (EIRL)
Interrupt enable register (EIRH)
Interrupt enable register (EIRE)
Interrupt enable register (EIRD)
(0x003C)
(0x003D)
(0x003A)
(0x003B)
EIRH
EIRE
EIRD
EIRL
Note 1: Do not set the IMF and the interrupt enable flag (EF15 to EF4) to "1" at the same time.
Note 2: In the main program, before manipulating the interrupt enable flag (EF), be sure to clear the master enable flag (IMF) to
Note 3: When a read instruction is executed on EIRL, bits 3 to 1 are read as "0". Other unused bits are read as "0".
Read/Write
Read/Write
Read/Write
Read/Write
EF25 to
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
After reset
After reset
After reset
After reset
"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".
Function
Function
Function
Function
EF4
IMF
Individual interrupt enable flag
(Specified for each bit)
Interrupt master enable flag
INTSBI0/IN-
INTTXD0
INTTXD1
TSIO0
EF15
EF23
EF7
R/W
R/W
R/W
R
7
0
7
0
7
0
7
0
-
INTRXD0 /
INTRXD1
INTTCA0
INTSIO0
EF14
EF22
R/W
R/W
R/W
EF6
R
6
0
6
0
6
0
6
0
-
INTTCA1
INTTC01
INTTBT
EF13
EF21
R/W
R/W
R/W
EF5
R
5
0
5
0
5
0
5
0
-
Page 52
0:
1:
0:
1:
Disables the acceptance of each maskable interrupt.
Enables the acceptance of each maskable interrupt.
Disables the acceptance of all maskable interrupts.
Enables the acceptance of all maskable interrupts.
INTTC00
INTWUC
EF12
EF20
INT4
EF4
R/W
R/W
R/W
R
4
0
4
0
4
0
4
0
-
INTRTC
EF11
EF19
INT3
R/W
R/W
R/W
R
3
0
3
0
3
0
3
0
-
-
INTADC
EF10
EF18
INT2
R/W
R/W
R/W
R
2
0
2
0
2
0
2
0
-
-
INTVLTD
INTTC03
EF17
EF25
INT1
R/W
R/W
R/W
EF9
R
1
0
1
0
1
0
1
0
-
TMP89CH42
master ena-
INTTC02
Interrupt
ble flag
EF16
EF24
INT5
INT0
R/W
R/W
R/W
R/W
EF8
IMF
0
0
0
0
0
0
0
0

Related parts for tmp89ch42