P89LPC938FDH NXP Semiconductors, P89LPC938FDH Datasheet - Page 40

no-image

P89LPC938FDH

Manufacturer Part Number
P89LPC938FDH
Description
MCU 8BIT 80C51 8K FLASH, TSSOP28
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89LPC938FDH

Controller Family/series
(8051) 8052
Core Size
8bit
No. Of I/o's
26
Program Memory Size
8KB
Eeprom Memory Size
512Byte
Ram Memory Size
768Byte
Cpu Speed
18MHz
Oscillator Type
External,
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC938FDH
Manufacturer:
IR
Quantity:
21 000
Part Number:
P89LPC938FDH
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
P89LPC938FDH
Quantity:
8 158
Part Number:
P89LPC938FDHЈ¬529
Manufacturer:
PH3
Quantity:
5 100
Philips Semiconductors
9397 750 14051
Product data sheet
Fig 19. Comparator input and output connections.
(P0.5) CMPREF
(P0.4) CIN1A
(P0.3) CIN1B
(P0.2) CIN2A
(P0.1) CIN2B
7.23.1 Internal reference voltage
7.23.2 Comparator interrupt
7.23.3 Comparators and power reduction modes
7.23 Analog comparators
V
REF
Two analog comparators are provided on the P89LPC938. Input and output options allow
use of the comparators in a number of different configurations. Comparator operation is
such that the output is a logical one (which may be read in a register and/or routed to a
pin) when the positive input (one of two selectable pins) is greater than the negative input
(selectable from a pin or an internal reference voltage). Otherwise the output is a zero.
Each comparator may be configured to cause an interrupt when the output value changes.
The overall connections to both comparators are shown in
function to V
When each comparator is first enabled, the comparator output and interrupt flag are not
guaranteed to be stable for 10 microseconds. The corresponding 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.
An internal reference voltage generator may supply a default reference when a single
comparator input pin is used. The value of the internal reference voltage, referred to as
V
Each comparator has an interrupt flag contained in its configuration register. This flag is
set whenever the comparator output changes state. The flag may be polled by software or
may be used to generate an interrupt. The two comparators use one common interrupt
vector. If both comparators enable interrupts, after entering the interrupt service routine,
the user needs to read the flags to determine which comparator caused the interrupt.
Either or both comparators may remain enabled when Power-down or Idle mode is
activated, but both comparators are disabled automatically in Total Power-down mode.
REF
, is 1.23 V
CN1
CN2
CP1
CP2
DD
= 2.4 V.
10 %.
comparator 1
comparator 2
Rev. 01 — 25 February 2005
CO1
CO2
change detect
change detect
OE1
OE2
8-bit microcontroller with 10-bit A/D converter
CMF1
CMF2
CMP1 (P0.6)
CMP2 (P0.0)
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Figure
002aaa904
P89LPC938
19. The comparators
EC
interrupt
40 of 68

Related parts for P89LPC938FDH