công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

P87LPC779FDH bảng dữ liệu(PDF) 20 Page - NXP Semiconductors

tên linh kiện P87LPC779FDH
Giải thích chi tiết về linh kiện  CMOS single-chip 8-bit 80C51 microcontroller with 128-byte data RAM, 8 kB OTP
PDF  74 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  PHILIPS [NXP Semiconductors]
Trang chủ  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P87LPC779FDH bảng dữ liệu(HTML) 20 Page - NXP Semiconductors

Back Button P87LPC779FDH Datasheet HTML 16Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 17Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 18Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 19Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 20Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 21Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 22Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 23Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 24Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 74 page
background image
Philips Semiconductors
P87LPC779
CMOS single-chip 8-bit microcontroller
Product data
Rev. 02 — 03 May 2004
20 of 74
9397 750 13213
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
8.6.3
Comparator interrupt
Each comparator has an interrupt flag CMFn 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 interrupt will be
generated when the corresponding enable bit ECn in the IEN1 register is set and the
interrupt system is enabled via the EA bit in the IEN0 register.
8.6.4
Comparators and power reduction modes
Either or both comparators may remain enabled when Power-down or Idle mode is
activated. The comparators will continue to function in the power reduction mode. If a
comparator interrupt is enabled, a change of the comparator output state will
generate an interrupt and wake up the processor. If the comparator output to a pin is
enabled, the pin should be configured in the push-pull mode in order to obtain fast
switching times while in Power-down mode. The reason is that with the oscillator
stopped, the temporary strong pull-up that normally occurs during switching on a
quasi-bidirectional port pin does not take place.
Comparators consume power in Power-down and Idle modes, as well as in the
normal operating mode. This fact should be taken into account when system power
consumption is an issue.
8.6.5
Comparator configuration example
The code shown below is an example of initializing one comparator. Comparator 1 is
configured to use the CIN1A and CMPREF inputs, outputs the comparator result to
the CMP1 pin, and generates an interrupt when the comparator output changes.
CmpInit: b
mov
PT0AD,#30h
; Disable digital inputs on pins that are used
;
for analog functions: CIN1A, CMPREF.
anl
P0M2,#0cfh
; Disable digital outputs on pins that are used
orl
P0M1,#30h
;
for analog functions: CIN1A, CMPREF.
mov
CMP1,#24h
; Turn on comparator 1 and set up for:
;
- Positive input on CIN1A.
;
- Negative input from CMPREF pin.
;
- Output to CMP1 pin enabled.
call
delay10us
; The comparator has to start up for at
;
least 10 microseconds before use.
anl
CMP1,#0feh
; Clear comparator 1 interrupt flag.
setb
EC1
; Enable the comparator 1 interrupt. The
;
priority is left at the current value.
setb
EA
; Enable the interrupt system (if needed).
ret
; Return to caller.
The interrupt routine used for the comparator must clear the interrupt flag (CMF1 in
this case) before returning.
8.7 I2C-bus serial interface
The I2C-bus uses two wires (SDA and SCL) to transfer information between devices
connected to the bus. The main features of the bus are:
• Bidirectional data transfer between masters and slaves.
• Serial addressing of slaves (no added wiring).



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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