English
Language : 

TMP88PS43FG Datasheet, PDF (38/226 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
3. Interrupt Control Circuit
3.2 Interrupt enable register (EIR)
TMP88PS43FG
Interrupt Latches
(Initial value: 0*000000 *00*0000)
ILH,ILL
15 14 13 12
11
10
9
8
7
6
5
4
3
2
1
0
(003DH, 003CH) IL15
-
IL13 IL12 IL11 IL10 IL9 IL8
-
IL6 IL5
-
IL3 IL2
INF
ILH (003DH)
ILL (003CH)
(Initial value: 00000000 00000000)
ILD,ILE
15 14 13 12
11
10
9
8
7
6
5
4
3
2
1
0
(002FH, 002EH) IL31 IL30 IL29 IL28 IL27 IL26 IL25 IL24 IL23 IL22 IL21 IL20 IL19 IL18 IL17 IL16
ILD (002FH)
ILE (002EH)
ILC
(002BH)
(Initial value: *0000000)
7
6
5
4
3
2
1
0
- IL38 IL37 IL36 IL35 IL34 IL33 IL32
ILE (002BH)
IL38 to IL2
INF
Interrupt latches
Read
0: No interrupt request
1: Interrupt request
Write
0: Clears the interrupt request (Note1)
1: (Unable to set interrupt latch)
00: Out of interrupt service
00: Reserved
01: On interrupt service of level 1
01: Clear the nesting counter
R/W
Interrupt Nesting Flag
01: On interrupt service of more than
level 2
10: Count-down 1 step for the nesting
counter (Note2)
01: On interrupt service of more than 11: Reserved
level 3
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
interrupt return instruction.
Note 4: In main program, before manipulating the interrupt enable flag (EF) or the interrupt latch (IL), be sure to clear IMF to "0"
(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".
Note 5: Do not clear IL with read-modify-write instructions such as bit operations.
Interrupt Enable Registers
(Initial value: 0*000000 *00*0**0)
EIRH,EIRL
15 14 13 12
11 10
9
8
7
6
5
4
3
2
(003BH, 003AH) EF15 - EF13 EF12 EF11 EF10 EF9 EF8
-
EF6 EF5
-
EF3
1
0
IMF
EIRH (003BH)
EIRL (003AH)
(Initial value: 00000000 00000000)
EIRD,EIRE
15 14 13 12
11 10
9
8
7
6
5
4
3
2
1
0
(002DH, 002CH) EF31 EF30 EF29 EF28 EF27 EF26 EF25 EF24 EF23 EF22 EF21 EF20 EF19 EF18 EF17 EF16
EIRD (002DH)
EIRE (002CH)
EIRE
(002AH)
(Initial value: *0000000)
7
6
5
4
3
2
1
0
- EF38 EF37 EF36 EF35 EF34 EF33 EF32
EIRE (002AH)
Page 28