TMP86xy09NG Toshiba, TMP86xy09NG Datasheet - Page 48

no-image

TMP86xy09NG

Manufacturer Part Number
TMP86xy09NG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy09NG

Package
SDIP32
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
8/16
Ram Size
256/512
Driver Led
8
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
-
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
6
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Dual Clock
Clock Gear
-
Number Of I/o Ports
26
Power Supply (v)
2.7 to 5.5
3.4 Interrupt Sequence
Interrupt
request
Interrupt
latch (IL)
IMF
Execute
instruction
PC
SP
3.4.2 Saving/restoring general-purpose registers
3.4.2.1
Note 1: a: Return address entry address, b: Entry address, c: Address which RETI instruction is stored
Note 2: On condition that interrupt is enabled, it takes 38/fc [s] or 38/fs [s] at maximum (If the interrupt latch is set at the first
1-machine cycle
Figure 3-1 Timing Chart of Interrupt Acceptance/Return Interrupt Instruction
service program
level of current servicing interrupt is requested.
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 shorten compared with length
between interrupt requests; otherwise the status cannot be recovered as non-maskable interrupt would simply
nested.
includes IMF) are automatically saved on the stack, but the accumulator and others are not. These registers are
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 registers.
a − 1
Example: Correspondence between vector table address for INTTBT and the entry address of the interrupt
A maskable interrupt is not accepted until the IMF is set to “1” even if the maskable interrupt higher than the
In order to utilize nested interrupt service, the IMF is set to “1” in the interrupt service program. In this case,
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,
machine cycle on 10 cycle instruction) to start interrupt acceptance processing since its interrupt latch is set.
can be saved/restored using the PUSH/POP instructions.
instruction
Execute
Using PUSH and POP instructions
a
If only a specific register is saved or interrupts of the same source are nested, general-purpose registers
FFF2H
FFF3H
a + 1
Vector table address
n
D2H
03H
Interrupt acceptance
a
n − 1
Vector
n − 2
Page 38
b
b + 1
b + 2
instruction
Execute
b + 3
n - 3
D203H
D204H
Entry address
c + 1
Interrupt service task
0FH
06H
n − 2 n − 1
c + 2
Execute RETI instruction
Interrupt
service
program
TMP86C809NG
a
a + 1
n
a + 2

Related parts for TMP86xy09NG