Page 47
TMP89FM42
RA003
3. Interrupt Control Circuit
The TMP89FM42 has a total of 25 interrupt sources excluding reset. Interrupts can be nested with priorities. Three
of the internal interrupt sources are non-maskable while the rest are maskable.
Interrupt sources are provided with interrupt latches (IL), which hold interrupt requests, and have independent vec-
tor addresses. When a request for an interrupt is generated, its interrupt latch is set to "1", which requests the CPU to
accept the interrupt. Acceptance of interrupts is enabled or disabled by software using the interrupt master enable
flag (IMF) and individual enable flag (EF) for each interrupt source. If multiple maskable interrupts are generated
simultaneously, the interrupts are accepted in order of descending priority. The priorities are determined by the inter-
rupt priority change control register (ILPRS1-ILPRS6) as Levels and determined by the hardware as the basic prior-
ities.
However, there are no prioritized interrupt sources among non-maskable interrupts.
Note 1: To use the watchdog timer interrupt (INTWDT), clear WDCTR<WDTOUT> to "0" (It is set for the "Reset request" after
reset is released). For details, see "Watchdog Timer".
Note 2: 0xFFFA and 0xFFFB function not as interrupt vectors but as option codes in the serial PROM mode. For details, see
"Serial PROM Mode".
Note 3: Vector address areas can be changed by the SYSCR3<RVCTR> setting. To assign vector address areas to RAM, set
SYSCR3<RVCTR> to "1" and SYSCR3<RAREA> to "1".
Interrupt sources
Enable condition
Interrupt
latch
Vector Address
(MCU mode)
Basic
prior-
ity
RVCTR=0
enabled
RVCTR=1
enabled
Internal/
External
(Reset)
Non-maskable
-
0xFFFE
-
1
Internal
INTSWI
Non-maskable
-
0xFFFC
0x01FC
2
Internal
INTUNDEF
Non-maskable
-
0xFFFC
0x01FC
2
Internal
INTWDT
Non-maskable
ILL<IL3>
0xFFF8
0x01F8
2
Internal
INTWUC
IMF AND EIRL<EF4> = 1
ILL<IL4>
0xFFF6
0x01F6
5
Internal
INTTBT
IMF AND EIRL<EF5> = 1
ILL<IL5>
0xFFF4
0x01F4
6
Internal
INTRXD0 / INTSIO0
IMF AND EIRL<EF6> = 1
ILL<IL6>
0xFFF2
0x01F2
7
Internal
INTTXD0
IMF AND EIRL<EF7> = 1
ILL<IL7>
0xFFF0
0x01F0
8
External
INT5
IMF AND EIRH<EF8> = 1
ILH<IL8>
0xFFEE
0x01EE
9
Internal
INTVLTD
IMF AND EIRH<EF9> = 1
ILH<IL9>
0xFFEC
0x01EC
10
Internal
INTADC
IMF AND EIRH<EF10> = 1
ILH<IL10>
0xFFEA
0x01EA
11
Internal
INTRTC
IMF AND EIRH<EF11> = 1
ILH<IL11>
0xFFE8
0x01E8
12
Internal
INTTC00
IMF AND EIRH<EF12> = 1
ILH<IL12>
0xFFE6
0x01E6
13
Internal
INTTC01
IMF AND EIRH<EF13> = 1
ILH<IL13>
0xFFE4
0x01E4
14
Internal
INTTCA0
IMF AND EIRH<EF14> = 1
ILH<IL14>
0xFFE2
0x01E2
15
Internal
INTSBI0/INTSIO0
IMF AND EIRH<EF15> = 1
ILH<IL15>
0xFFE0
0x01E0
16
External
INT0
IMF AND EIRE<EF16> = 1
ILE<IL16>
0xFFDE
0x01DE
17
External
INT1
IMF AND EIRE<EF17> = 1
ILE<IL17>
0xFFDC
0x01DC
18
External
INT2
IMF AND EIRE<EF18> = 1
ILE<IL18>
0xFFDA
0x01DA
19
External
INT3
IMF AND EIRE<EF19> = 1
ILE<IL19>
0xFFD8
0x01D8
20
External
INT4
IMF AND EIRE<EF20> = 1
ILE<IL20>
0xFFD6
0x01D6
21
Internal
INTTCA1
IMF AND EIRE<EF21> = 1
ILE<IL21>
0xFFD4
0x01D4
22
Internal
INTRXD1
IMF AND EIRE<EF22> = 1
ILE<IL22>
0xFFD2
0x01D2
23
Internal
INTTXD1
IMF AND EIRE<EF23> = 1
ILE<IL23>
0xFFD0
0x01D0
24
Internal
INTTC02
IMF AND EIRD<EF24> = 1
ILD<IL24>
0xFFCE
0x01CE
25
Internal
INTTC03
IMF AND EIRD<EF25> = 1
ILD<IL25>
0xFFCC
0x01CC
26
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Содержание TLCS-870/C1 Series
Страница 1: ...8 Bit Microcontroller TLCS 870 C1 Series TMP89FM42 查询TMP89FM42供应商 捷多邦 专业PCB打样工厂 24小时加急出货 ...
Страница 3: ...Revision History Date Revision 2007 10 25 1 First Release 2007 11 3 2 Contents Revised ...
Страница 4: ......
Страница 14: ......
Страница 18: ...1 3 Block Diagram TMP89FM42 1 3 Block Diagram Figure 1 2 Block Diagram ...
Страница 22: ...1 4 Pin Names and Functions TMP89FM42 ...
Страница 60: ...2 CPU Core 2 5 Revision History TMP89FM42 ...
Страница 76: ...3 Interrupt Control Circuit 3 8 Revision History TMP89FM42 ...
Страница 86: ...4 External Interrupt control circuit 4 3 Function TMP89FM42 ...
Страница 102: ...7 Voltage Detection Circuit 7 5 Revision History TMP89FM42 ...
Страница 126: ...8 I O Ports 8 3 I O Port Registers TMP89FM42 Note 2 i 0 to 1 ...
Страница 136: ...8 I O Ports 8 5 Revision History TMP89FM42 ...
Страница 142: ...9 Special Function Registers 9 3 SFR3 0x0E40 to 0x0EFF TMP89FM42 ...
Страница 146: ...10 Low Power Consumption Function for Peripherals TMP89FM42 ...
Страница 149: ...TMP89FM42 11 3 Revision History Rev Description RA001 Deleted SLEEP2 description ...
Страница 150: ...11 Divider Output DVO 11 3 Revision History TMP89FM42 ...
Страница 220: ...15 Real Time Clock RTC 15 4 Real Time Clock Operation TMP89FM42 ...
Страница 250: ...16 Asynchronous Serial Interface UART 16 15 Revision History TMP89FM42 ...
Страница 302: ...18 Serial Bus Interface SBI 18 7 Revision History TMP89FM42 ...
Страница 336: ...21 Flash Memory 21 4 Toggle Bit D6 TMP89FM42 Note 1 Make sure that you set the C register to 0x00 LD FLSCR2 0xD5 ...
Страница 338: ...21 Flash Memory 21 4 Toggle Bit D6 TMP89FM42 ...
Страница 384: ...22 Serial PROM Mode 22 15 Revision History TMP89FM42 ...
Страница 388: ...24 Input Output Circuit 24 1 Control Pins TMP89FM42 ...
Страница 404: ...25 Electrical Characteristics 25 11 Revision History TMP89FM42 ...
Страница 406: ...26 Package Dimensions TMP89FM42 ...
Страница 408: ......