P89LPC924 Philips Semiconductors, P89LPC924 Datasheet - Page 22

no-image

P89LPC924

Manufacturer Part Number
P89LPC924
Description
(P89LPC924 / P89LPC925) 8-bit microcontrollers
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC9241FDH112
Manufacturer:
NXP Semiconductors
Quantity:
1 876
Part Number:
P89LPC924FDH
Manufacturer:
NXP
Quantity:
8
Part Number:
P89LPC924FDH
Manufacturer:
FAIRCHIL
Quantity:
130
Part Number:
P89LPC924FDH
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89LPC924FDH518
Manufacturer:
NXP Semiconductors
Quantity:
25 409
Part Number:
P89LPC924FDHЈ¬518
Manufacturer:
PH3
Quantity:
10
Philips Semiconductors
9397 750 14471
Product data
8.12.1 External interrupt inputs
8.11 Data RAM arrangement
8.12 Interrupts
The 256 bytes of on-chip RAM are organized as shown in
Table 5:
The P89LPC924/925 uses a four priority level interrupt structure. This allows great
flexibility in controlling the handling of the many interrupt sources. The
P89LPC924/925 supports 13 interrupt sources: A/D converter, external interrupts 0
and 1, timers 0 and 1, serial port Tx, serial port Rx, combined serial port Rx/Tx,
brownout detect, watchdog/real-time clock, I
Each interrupt source can be individually enabled or disabled by setting or clearing a
bit in the interrupt enable registers IEN0 or IEN1. The IEN0 register also contains a
global disable bit, EA, which disables all interrupts.
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 P89LPC924/925 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 P89LPC924/925 is put into Power-down
or Idle mode, the interrupt will cause the processor to wake-up and resume operation.
Refer to
Type
DATA
IDATA
Section 8.15 “Power reduction modes”
On-chip data memory usages
Data RAM
Memory that can be addressed directly and indirectly
Memory that can be addressed indirectly
Rev. 03 — 15 December 2004
8-bit microcontrollers with accelerated two-clock 80C51 core
2
C, keyboard, and comparators 1 and 2.
for details.
P89LPC924/925
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Table
5.
Size (bytes)
128
256
22 of 49

Related parts for P89LPC924