欢迎访问ic37.com |
会员登录 免费注册
发布采购

P87LPC764FD 参数 Datasheet PDF下载

P87LPC764FD图片预览
型号: P87LPC764FD
PDF下载: 下载PDF文件 查看货源
内容描述: 低功耗,低价格,低引脚数( 20针)的微控制器与4K字节的OTP [Low power, low price, low pin count (20 pin) microcontroller with 4 kbyte OTP]
分类和应用: 微控制器和处理器外围集成电路光电二极管可编程只读存储器时钟
文件页数/大小: 60 页 / 322 K
品牌: PHILIPS [ NXP SEMICONDUCTORS ]
 浏览型号P87LPC764FD的Datasheet PDF文件第10页浏览型号P87LPC764FD的Datasheet PDF文件第11页浏览型号P87LPC764FD的Datasheet PDF文件第12页浏览型号P87LPC764FD的Datasheet PDF文件第13页浏览型号P87LPC764FD的Datasheet PDF文件第15页浏览型号P87LPC764FD的Datasheet PDF文件第16页浏览型号P87LPC764FD的Datasheet PDF文件第17页浏览型号P87LPC764FD的Datasheet PDF文件第18页  
Philips Semiconductors
Product data
Low power, low price, low pin count (20 pin)
microcontroller with 4 kbyte OTP
P87LPC764
I2CON
Address: D8h
Bit Addressable
1
READ
WRITE
BIT
I2CON.7
I2CON.6
I2CON.5
I2CON.4
I2CON.3
I2CON.2
I2CON.1
I2CON.0
SYMBOL
RDAT
CXA
ATN
IDLE
DRDY
CDR
ARL
CARL
STR
CSTR
STP
CSTP
MASTER
XSTR
XSTP
7
RDAT
CXA
6
ATN
IDLE
5
DRDY
CDR
4
ARL
CARL
3
STR
CSTR
2
STP
CSTP
1
MASTER
XSTR
0
XSTP
Reset Value: 81h
FUNCTION
Read: the most recently received data bit.
Write: clears the transmit active flag.
Read: ATN = 1 if any of the flags DRDY, ARL, STR, or STP = 1.
Write: in the I
2
C slave mode, writing a 1 to this bit causes the I
2
C hardware to ignore the bus until it
is needed again.
Read: Data Ready flag, set when there is a rising edge on SCL.
Write: writing a 1 to this bit clears the DRDY flag.
Read: Arbitration Loss flag, set when arbitration is lost while in the transmit mode.
Write: writing a 1 to this bit clears the CARL flag.
Read: Start flag, set when a start condition is detected at a master or non-idle slave.
Write: writing a 1 to this bit clears the STR flag.
Read: Stop flag, set when a stop condition is detected at a master or non-idle slave.
Write: writing a 1 to this bit clears the STP flag.
Read: indicates whether this device is currently as bus master.
Write: writing a 1 to this bit causes a repeated start condition to be generated.
Read: undefined.
Write: writing a 1 to this bit causes a stop condition to be generated.
SU01155
Figure 6. I
2
C Control Register (I2CON)
I2DAT
Address: D9h
Not Bit Addressable
7
READ
WRITE
RDAT
XDAT
6
5
4
3
2
1
0
Reset Value: xxh
BIT
I2DAT.7
I2DAT.6–0
SYMBOL
RDAT
XDAT
FUNCTION
Read: the most recently received data bit, captured from SDA at every rising edge of SCL. Reading
I2DAT also clears DRDY and the Transmit Active state.
Write: sets the data for the next transmitted bit. Writing I2DAT also clears DRDY and sets the
Transmit Active state.
Unused.
SU01156
Figure 7. I
2
C Data Register (I2DAT)
Checking ATN and DRDY
When a program detects ATN = 1, it should next check DRDY. If
DRDY = 1, then if it receives the last bit, it should capture the data
from RDAT (in I2DAT or I2CON). Next, if the next bit is to be sent, it
should be written to I2DAT. One way or another, it should clear
DRDY and then return to monitoring ATN. Note that if any of ARL,
STR, or STP is set, clearing DRDY will not release SCL to high, so
that the I
2
C will not go on to the next bit. If a program detects
ATN = 1, and DRDY = 0, it should go on to examine ARL, STR,
and STP.
2003 Sep 03
13