Electronic Components Datasheet Search
  English  ▼

X  

P87LPC778 Datasheet(PDF) 17 Page - NXP Semiconductors

Part # P87LPC778
Description  CMOS single-chip 8-bit 80C51 microcontroller 128-byte data RAM, 8 kB OTP
PDF  79 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P87LPC778 Datasheet(HTML) 17 Page - NXP Semiconductors

Back Button P87LPC778 Datasheet HTML 13Page - NXP Semiconductors P87LPC778 Datasheet HTML 14Page - NXP Semiconductors P87LPC778 Datasheet HTML 15Page - NXP Semiconductors P87LPC778 Datasheet HTML 16Page - NXP Semiconductors P87LPC778 Datasheet HTML 17Page - NXP Semiconductors P87LPC778 Datasheet HTML 18Page - NXP Semiconductors P87LPC778 Datasheet HTML 19Page - NXP Semiconductors P87LPC778 Datasheet HTML 20Page - NXP Semiconductors P87LPC778 Datasheet HTML 21Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 79 page
background image
Philips Semiconductors
P87LPC778
CMOS single-chip 8-bit microcontroller
Product data
Rev. 01 — 31 March 2004
17 of 79
9397 750 12378
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
8.5 Analog comparators
Two analog comparators are provided on the P87LPC778. 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.
8.5.1
Comparator configuration
Each comparator has a control register, CMP1 for comparator 1 and CMP2 for
comparator 2. The control registers are identical and are shown in Tables 9 and 10.
The overall connections to both comparators are shown in Figure 6. There are eight
possible configurations for each comparator, as determined by the control bits in the
corresponding CMPn register: CPn, CNn, and OEn. These configurations are shown
in Figure 7. The comparators function down to a VDD of 3.0 V.
When each comparator is first enabled, the comparator output and interrupt flag are
not guaranteed to be stable for 10
µs. 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.
Table 9:
CMPn - Comparator control registers CMP1 and CMP2 (address ACh for
CMP1, ADh for CMP2) bit allocation
Not bit addressable; Reset value: 00H
Bit
7
6
5
4
3
2
1
0
Symbol
-
-
CEn
CPn
CNn
OEn
COn
CMFn
Table 10:
CMPn - Comparator control registers CMP1 and CMP2 (address ACh for
CMP1, ADh for CMP2) bit description
Bit
Symbol
Description
7, 6
-
Reserved for future use. Should not be set to ‘1’ by user programs.
5
CEn
Comparator enable. When set by software, the corresponding
comparator function is enabled. Comparator output is stable 10
µs
after CEn is first set.
4
CPn
Comparator positive input select. When ‘0’, CINnA is selected as
the positive comparator input. When ‘1’, CINnB is selected as the
positive comparator input.
3
CNn
Comparator negative input select. When ‘0’, the comparator
reference pin CMPREF is selected as the negative comparator
input. When ‘1’, the internal comparator reference Vref is selected
as the negative comparator input.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com