P89C668 Philips Semiconductors, P89C668 Datasheet - Page 19

no-image

P89C668

Manufacturer Part Number
P89C668
Description
80C51 8-bit Flash microcontroller family 64KB ISP FLASH with 8KB RAM
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89C668HBA
Manufacturer:
PHILIPS
Quantity:
1 000
Part Number:
P89C668HBA
Manufacturer:
PHILIPS
Quantity:
1 000
Part Number:
P89C668HBA
Manufacturer:
NXP
Quantity:
8
Part Number:
P89C668HBA
Manufacturer:
NXP
Quantity:
1 259
Part Number:
P89C668HBA
Manufacturer:
XIOCR
Quantity:
780
Part Number:
P89C668HBA
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Company:
Part Number:
P89C668HBA
Quantity:
11
Part Number:
P89C668HBA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89C668HBBD
Manufacturer:
TI
Quantity:
25 600
Part Number:
P89C668HBBD
Manufacturer:
PHILPS
Quantity:
500
Company:
Part Number:
P89C668HBBD
Quantity:
271
Part Number:
P89C668HBBD/00,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89C668HFA
Manufacturer:
NXP
Quantity:
1 260
Part Number:
P89C668HFA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
1. L = Level activated
2. T = Transition activated
Philips Semiconductors
Interrupt Priority Structure
The P89C668 has an 8 source four-level interrupt structure (see
Table 8).
There are 4 SFRs associated with the four-level interrupt. They are
the IE, IEN1, IP, and IPH. (See Figures 10, 11, 12, and 13.) The IPH
(Interrupt Priority High) register makes the four-level interrupt
structure possible. The IPH is located at SFR address B7H. The
structure of the IPH register and a description of its bits is shown in
Figure 12.
The function of the IPH SFR is simple and when combined with the
IP SFR determines the priority of each interrupt. The priority of each
interrupt is determined as shown in the following table:
Table 8.
NOTES:
2001 Jul 27
80C51 8-bit Flash microcontroller family
64KB ISP Flash with 8KB RAM
IPH.x
PRIORITY BITS
0
0
1
1
SI01 (I
SOURCE
BIT
IEN0.7
IEN0.6
IEN0.5
IEN0.4
IEN0.3
IEN0.2
IEN0.1
IEN0.0
PCA
SP
X0
T0
X1
T1
T2
IEN0 (0A8H)
Interrupt Table
2
C)
IP.x
0
1
0
1
SYMBOL
EA
EC
ES1
ES0
ET1
EX1
ET0
EX0
Level 0 (lowest priority)
Level 1
Level 2
Level 3 (highest priority)
INTERRUPT PRIORITY LEVEL
INTERRUPT PRIORITY LEVEL
POLLING PRIORITY
Enable Bit = 1 enables the interrupt.
Enable Bit = 0 disables it.
FUNCTION
Global disable bit. If EA = 0, all interrupts are disabled. If EA = 1, each interrupt can be individually
enabled or disabled by setting or clearing its enable bit.
PCA interrupt enable bit
I
Serial Port interrupt enable bit.
Timer 1 interrupt enable bit.
External interrupt 1 enable bit.
Timer 0 interrupt enable bit.
External interrupt 0 enable bit.
EA
2
7
C interrupt enable bit.
1
2
3
4
5
6
7
8
EC
6
ES1
5
Figure 10. IE Registers
REQUEST BITS
ES0
4
TF2, EXF2
CF, CCFn
n = 0–4
RI, TI
TP0
TF1
IE0
IE1
19
ET1
as on the 80C51. An interrupt will be serviced as long as an interrupt
3
The priority scheme for servicing the interrupts is the same as that
for the 80C51, except there are four interrupt levels rather than two
of equal or higher priority is not already being serviced. If an
interrupt of equal or higher level priority is being serviced, the new
interrupt will wait until it is finished before being serviced. If a lower
priority level interrupt is being serviced, it will be stopped and the
new interrupt serviced. When the new interrupt is finished, the lower
priority level interrupt that was stopped will be completed.
EX1
2
HARDWARE CLEAR?
N (L)
ET0
N (L) Y (T)
1
1
N
Y
Y
N
N
N
Y (T)
EX0
0
2
VECTOR ADDRESS
P89C668
SU01460
2BH
0BH
1BH
3BH
03H
13H
23H
33H
Preliminary data

Related parts for P89C668