Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

P87LPC779FDH Datasheet(PDF) 22 Page - NXP Semiconductors

Part # P87LPC779FDH
Description  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
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P87LPC779FDH Datasheet(HTML) 22 Page - NXP Semiconductors

Back Button 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 P87LPC779FDH Datasheet HTML 25Page - NXP Semiconductors P87LPC779FDH Datasheet HTML 26Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 74 page
background image
Philips Semiconductors
P87LPC779
CMOS single-chip 8-bit microcontroller
Product data
Rev. 02 — 03 May 2004
22 of 74
9397 750 13213
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
8.7.1
I2C-bus interrupts
If I2C-bus interrupts are enabled (EA and EI2 are both set to 1), an I2C-bus interrupt
will occur whenever the ATN flag is set by a start, stop, arbitration loss, or data ready
condition (refer to the description of ATN following). In practice, it is not efficient to
operate the I2C-bus interface in this fashion because the I2C-bus interrupt service
routine would somehow have to distinguish between hundreds of possible conditions.
Also, since I2C-bus can operate at a fairly high rate, the software may execute faster if
the code simply waits for the I2C-bus interface.
Typically, the I2C-bus interrupt should only be used to indicate a start condition at an
idle slave device, or a stop condition at an idle master device (if it is waiting to use the
I2C-bus). This is accomplished by enabling the I2C-bus interrupt only during the
aforementioned conditions.
[1]
Due to the manner in which bit addressing is implemented in the 80C51 family, the I2CON register
should never be altered by use of the SETB, CLR, CPL, MOV (bit), or JBC instructions. This is due to
the fact that read and write functions of this register are different. Testing of I2CON bits via the JB and
JNB instructions is supported.
Table 11:
I2CON - I2C-bus control register (address D8H) bit allocation
Bit addressable[1]; Reset value: 81H
Bit
7
6
5
4
3
2
1
0
Symbol (R)
RDAT
ATN
DRDY
ARL
STR
STP
MASTER
-
Symbol (W)
CXA
IDLE
CDR
CARL
CSTR
CSTP
XSTR
XSTP
Table 12:
I2CON - I2C-bus control register (address D8H) bit description
Bit Symbol
Access Description
7
RDAT
R
The most recently received data bit
CXA
W
Clears the transmit active flag
6
ATN
R
ATN = 1 if any of the flags DRDY, ARL, STP, or STP = 1
IDLE
W
In the I2C-bus slave mode, writing a ‘1’ to this bit causes the I2C-bus
hardware to ignore the bus until it is needed again
5
DRDY
R
Data Ready flag, set when there is a rising edge on SCL
CDR
W
Writing a ‘1’ to this bit clears the DRDY flag
4
ARL
R
Arbitration Loss flag, set when arbitration is lost while in the transmit
mode
CARL
W
Writing a ‘1’ to this bit clears the CARL flag
3
STR
R
Start flag, set when a start condition is detected at a master or
non-idle slave
CSTR
W
Writing a ‘1’ to this bit clears the STR flag
2
STP
R
Stop flag, set when a stop condition is detected at a master or
non-idle slave
CSTP
W
Writing a ‘1’ to this bit clears the STP flag
1
MASTER R
Indicates whether this device is currently as bus master
XSTR
W
Writing a ‘1’ to this bit causes a repeated start condition to be
generated
0
-
R
Undefined
XSTP
W
Writing a ‘1’ to this bit causes a stop condition to be generated



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


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