Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits

89LPC933 View Datasheet(PDF) - NXP Semiconductors.

Part NameDescriptionManufacturer
89LPC933 8-bit microcontroller with accelerated two-clock 80C51 core 4 kB/8 kB/16 kB 3 V byte-erasable flash with 8-bit ADCs NXP
NXP Semiconductors. NXP
89LPC933 Datasheet PDF : 77 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
NXP Semiconductors
P89LPC933/934/935/936
8-bit microcontroller with accelerated two-clock 80C51 core
8.23 Analog comparators
Two analog comparators are provided on the P89LPC933/934/935/936. Input and output
options allow use of the comparators in a number of different configurations. Comparator
operation is such that the output is a logic 1 (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 Figure 21. The comparators
function to VDD = 2.4 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.
When a comparator is disabled the comparator’s output, COn, 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, CMFn. 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, CMFn, after disabling the comparator.
(P0.4) CIN1A
(P0.3) CIN1B
(P0.5) CMPREF
Vref(bg)
CP1
comparator 1
CO1
OE1
CN1
change detect
CMF1
CMP1 (P0.6)
(P0.2) CIN2A
(P0.1) CIN2B
CP2
comparator 2
change detect
CN2
CO2
OE2
Fig 21. Comparator input and output connections
CMF2
EC
CMP2 (P0.0)
002aaa904
interrupt
8.23.1 Internal reference voltage
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
Vref(bg), is 1.23 V ± 10 %.
P89LPC933_934_935_936
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 8 — 12 January 2011
© NXP B.V. 2011. All rights reserved.
46 of 77
Direct download click here

 

Share Link : 
All Rights Reserved© datasheetq.com 2015 - 2020  ] [ Privacy Policy ] [ Request Datasheet  ] [ Contact Us ]