P89LPC9321 NXP Semiconductors, P89LPC9321 Datasheet - Page 25

no-image

P89LPC9321

Manufacturer Part Number
P89LPC9321
Description
The P89LPC9321 is a single-chip microcontroller, available in low cost packages, basedon a high performance processor architecture that executes instructions in two to fourclocks, six times the rate of standard 80C51 devices
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC9321FA
Manufacturer:
NXP
Quantity:
20 000
Part Number:
P89LPC9321FA,112
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC9321FA,529
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC9321FDH
Manufacturer:
ON
Quantity:
36
NXP Semiconductors
P89LPC9321
Product data sheet
7.15.1 External interrupt inputs
Each interrupt source can be individually programmed to one of four priority levels by
setting or clearing bits in the interrupt priority registers IP0, IP0H, IP1 and IP1H. An
interrupt service routine in progress can be interrupted by a higher priority interrupt, but
not by another interrupt of the same or lower priority. The highest priority interrupt service
cannot be interrupted by any other interrupt source. If two requests of different priority
levels are pending at the start of an instruction, the request of higher priority level is
serviced.
If requests of the same priority level are pending at the start of an instruction, an internal
polling sequence determines which request is serviced. This is called the arbitration
ranking. Note that the arbitration ranking is only used to resolve pending requests of the
same priority level.
The P89LPC9321 has two external interrupt inputs as well as the Keypad Interrupt
function. The two interrupt inputs are identical to those present on the standard 80C51
microcontrollers.
These external interrupts can be programmed to be level-triggered or edge-triggered by
setting or clearing bit IT1 or IT0 in Register TCON.
In edge-triggered mode, if successive samples of the INTn pin show a HIGH in one cycle
and a LOW in the next cycle, the interrupt request flag IEn in TCON is set, causing an
interrupt request.
If an external interrupt is enabled when the P89LPC9321 is put into Power-down or Idle
mode, the interrupt will cause the processor to wake-up and resume operation. Refer to
Section 7.18 “Power reduction modes”
All information provided in this document is subject to legal disclaimers.
Rev. 2 — 16 November 2010
8-bit microcontroller with accelerated two-clock 80C51 core
for details.
P89LPC9321
© NXP B.V. 2010. All rights reserved.
25 of 71

Related parts for P89LPC9321