tmp88ch40mg TOSHIBA Semiconductor CORPORATION, tmp88ch40mg Datasheet - Page 30

no-image

tmp88ch40mg

Manufacturer Part Number
tmp88ch40mg
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
3.2 Interrupt enable register (EIR)
Interrupt Enable Registers
Interrupt Latches
(002DH, 002CH)
(003BH, 003AH)
(003DH, 003CH)
(002FH, 002EH)
EIRD,EIRE
EIRH,EIRL
(002AH)
(002BH)
ILD,ILE
ILH,ILL
EIRE
Note 1: IL2 cannot alone be cleard.
Note 2: Unable to detect the under-flow of counter.
Note 3: The nesting counter is set "0" initially, it performs count-up by the interrupt acceptance and count-down by executing the
Note 4: In main program, before manipulating the interrupt enable flag (EF) or the interrupt latch (IL), be sure to clear IMF to "0"
Note 5: Do not clear IL with read-modify-write instructions such as bit operations.
ILC
IL38 to IL2
INF
interrupt return instruction.
(Disable interrupt by DI instruction). Then set IMF newly again as required after operating on the EF or IL (Enable interrupt
by EI instruction)
In interrupt service routine, because the IMF becomes "0" automatically, clearing IMF need not execute normally on inter-
rupt service routine. However, if using multiple interrupt on interrupt service routine, manipulating EF or IL should be exe-
cuted before setting IMF="1".
15
15
15
15
-
-
-
-
14
14
14
14
-
-
-
-
Interrupt latches
Interrupt Nesting Flag
13
13
13
13
-
-
-
-
EIRH (003BH)
EIRD (002DH)
EF12
IL12
ILH (003DH)
ILD (002FH)
12
12
12
12
-
-
11
11
11
11
-
-
-
-
0: No interrupt request
1: Interrupt request
00: Out of interrupt service
01: On interrupt service of level 1
01: On interrupt service of more than
level 2
01: On interrupt service of more than
level 3
EF10
EF26
IL10
IL26
10
10
10
10
Page 22
9
9
9
9
-
-
-
-
Read
EF24
IL24
EF8
IL8
8
8
8
8
7
7
7
7
7
7
-
-
-
-
-
-
EF22
EF38
IL22
IL38
EF6
IL6
6
6
6
6
6
6
0: Clears the interrupt request (Note1)
1: (Unable to set interrupt latch)
00: Reserved
01: Clear the nesting counter
10: Count-down 1 step for the nesting
counter (Note2)
11: Reserved
5
5
5
5
5
5
-
-
-
-
-
-
EIRE (002CH)
EIRL (003AH)
EIRE (002AH)
EF20
EF36
IL20
IL36
ILL (003CH)
ILE (002EH)
ILE (002BH)
4
4
4
4
4
4
-
-
(Initial value: ***0*0*0 *0**0000)
(Initial value: *****0*0 *0*0*0*0)
(Initial value: *****0*0 *0*0*0*0)
(Initial value: ***0*0*0 *0**0**0)
Write
EF35
IL35
EF3
IL3
3
3
3
-
3
3
3
-
(Initial value: *0*00000)
(Initial value: *0*00000)
EF18
EF34
IL18
IL34
IL2
2
2
2
2
2
2
TMP88CH40MG
EF33
IL33
1
1
1
-
1
1
1
-
INF
EF16
EF32
IL16
IL32
IMF
0
0
0
R/W
0
0
0

Related parts for tmp88ch40mg