P89LPC901 PHILIPS [NXP Semiconductors], P89LPC901 Datasheet - Page 37

no-image

P89LPC901

Manufacturer Part Number
P89LPC901
Description
8-bit microcontrollers with two-clock 80C51 core 1 kB 3 V Flash with 128-byte RAM
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC901FD
Manufacturer:
OMRON
Quantity:
3 000
Part Number:
P89LPC901FD
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
P89LPC901FD
Quantity:
11 459
Company:
Part Number:
P89LPC901FD
Quantity:
11 000
Part Number:
P89LPC901FN
Manufacturer:
NS
Quantity:
1 000
Part Number:
P89LPC901FN
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Philips Semiconductors
9397 750 12293
Product data
8.18.10 The 9
8.18.9 Transmit interrupts with double buffering enabled (Modes 1, 2 and 3)
8.19 Analog comparators
Unlike the conventional UART, in double buffering mode, the Tx interrupt is generated
when the double buffer is ready to receive new data.
If double buffering is disabled TB8 can be written before or after SBUF is written, as
long as TB8 is updated some time before that bit is shifted out. TB8 must not be
changed until the bit is shifted out, as indicated by the Tx interrupt.
If double buffering is enabled, TB8 must be updated before SBUF is written, as TB8
will be double-buffered together with SBUF data.
One analog comparator is provided on the P89LPC901. Two analog comparators are
provided on the P89LPC902 and P89LPC903 devices. Comparator operation is such
that the output is a logical one (which may be read in a register) when the positive
input is greater than the negative input (selectable from a pin or an internal reference
voltage). Otherwise the output is a zero. The comparator may be configured to cause
an interrupt when the output value changes.
The connections to the comparator are shown in
comparator configurations are available on all three devices. Please refer to the Logic
diagrams in
V
When the comparator is first enabled, the comparator output and interrupt flag are not
guaranteed to be stable for 10 microseconds. The comparator interrupt should not be
enabled during that time, and the comparator interrupt flag must be cleared before
the interrupt is enabled in order to prevent an immediate interrupt service.
When a comparator is disabled the comparator’s output, COx, goes HIGH. If the
comparator output was LOW and then is disabled, the resulting transition of the
comparator output from a LOW to HIGH state will set the comparator flag, CMFx.
This will cause an interrupt if the comparator interrupt is enabled. The user should
therefore disable the comparator interrupt prior to disabling the comparator.
Additionally, the user should clear the comparator flag, CMFx, after disabling the
comparator.
DD
= 2.4 V.
th
bit (bit 8) in double buffering (Modes 1, 2 and 3)
Section 6 “Logic symbols” on page
Rev. 04 — 21 November 2003
8-bit microcontrollers with two-clock 80C51 core
P89LPC901/902/903
12. The comparator functions to
Figure
© Koninklijke Philips Electronics N.V. 2003. All rights reserved.
19. Note: Not all possible
37 of 55

Related parts for P89LPC901