tmp89ch42 TOSHIBA Semiconductor CORPORATION, tmp89ch42 Datasheet - Page 70
tmp89ch42
Manufacturer Part Number
tmp89ch42
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
1.TMP89CH42.pdf
(342 pages)
- Current page: 70 of 342
- Download datasheet (5Mb)
3.5
Interrupt Sequence
RA003
Example :Using PUSH and POP instructions
3.5.3
3.5.3.1
SP
PINTxx
the interrupt service routine.
case, acceptable interrupt sources are selectively enabled by the individual interrupt enable flags.
before setting IMF to “1”. As for non-maskable interrupt, keep interrupt service shorter compared with length
between interrupt requests.
IMF) are automatically saved on the stack, but the general purpose registers are not. These registers must be saved
by software if necessary. When multiple interrupt services are nested, it is also necessary to avoid using the same
data memory area for saving registers. The following methods are used to save/restore the general-purpose reg-
isters.
At Acceptance of
Saving/restoring general-purpose registers
A maskable interrupt is not accepted until the IMF is set to “1” even if the maskable interrupt is requested in
In order to utilize nested interrupt service, the IMF must be set to “1” in the interrupt service program. In this
To avoid overloaded nesting, clear the individual interrupt enable flag whose interrupt is currently serviced,
During interrupt acceptance processing, the program counter (PC) and the program status word (PSW, includes
an Interrupt
To save only a specific register, PUSH and POP instructions are available.
Using PUSH and POP instructions
PSW
PC
PC
H
L
PUSH
POP
RETI
Interrupt processing
Figure 3-3 Saving/restoring general-purpose registers
SP
PUSH instruction
At execution of
WA
WA
PSW
PC
PC
W
A
H
L
Page 56
; Save WA register
; Restore WA register
; RETURN
SP
POP instruction
At execution of
PSW
PC
PC
L
H
SP
an RETI instruction
At execution of
TMP89CH42
Address
(Example)
b-4
b-3
b-2
b-1
b
Related parts for tmp89ch42
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Toshiba Semiconductor [TOSHIBA IGBT Module Silicon N Channel IGBT]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
Toshiba Semiconductor [SILICON N CHANNEL 1GBT]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
Toshiba Semiconductor [GTR Module Silicon N Channel IGBT High Power Switching Applications Motor Control Applications]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
Toshiba Semiconductor [Power Module]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR MODULE SILICON NPN TRIPLE DIFFUSED TYPE
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA INTELLIGENT POWER MODULE SILICON N CHANNEL LGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA IGBT Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR MODULE SILICON N−CHANNEL IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA INTELLIGENT POWER MODULE
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet: