欢迎访问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文件第13页浏览型号P87LPC764FD的Datasheet PDF文件第14页浏览型号P87LPC764FD的Datasheet PDF文件第15页浏览型号P87LPC764FD的Datasheet PDF文件第16页浏览型号P87LPC764FD的Datasheet PDF文件第18页浏览型号P87LPC764FD的Datasheet PDF文件第19页浏览型号P87LPC764FD的Datasheet PDF文件第20页浏览型号P87LPC764FD的Datasheet PDF文件第21页  
Philips Semiconductors
Product data
Low power, low price, low pin count (20 pin)
microcontroller with 4 kbyte OTP
P87LPC764
Table 1. Interaction of TIRUN with SLAVEN, MASTRQ, and MASTER
SLAVEN,
MASTRQ,
MASTER
All 0
All 0
Any or all 1
Any or all 1
TIRUN
0
1
0
1
OPERATING MODE
The I
2
C interface is disabled. Timer I is cleared and does not run. This is the state assumed after a reset. If an I
2
C
application wants to ignore the I
2
C at certain times, it should write SLAVEN, MASTRQ, and TIRUN all to zero.
The I
2
C interface is disabled.
The I
2
C interface is enabled. The 3 low-order bits of Timer I run for min-time generation, but the hi-order bits do
not, so that there is no checking for I
2
C being “hung.” This configuration can be used for very slow I
2
C operation.
The I
2
C interface is enabled. Timer I runs during frames on the I
2
C, and is cleared by transitions on SCL, and by
Start and Stop conditions. This is the normal state for I
2
C operation.
Table 2. CT1, CT0 Values
CT1, CT0
10
01
00
11
Min Time Count
(Machine Cycles)
7
6
5
4
CPU Clock Max
(for 100 kHz I
2
C)
8.4 MHz
7.2 MHz
6.0 MHz
4.8 MHz
Timeout Period
(Machine Cycles)
1023
1022
1021
1020
Interrupts
The P87LPC764 uses a four priority level interrupt structure. This
allows great flexibility in controlling the handling of the P87LPC764’s
many interrupt sources. The P87LPC764 supports up to 12 interrupt
sources.
Each interrupt source can be individually enabled or disabled by
setting or clearing a bit in registers IEN0 or IEN1. The IEN0
register also contains a global disable bit, EA, which disables all
interrupts at once.
Each interrupt source can be individually programmed to one of four
priority levels by setting or clearing bits in the IP0, IP0H, IP1, and
IP1H registers. An interrupt service routine in progress can be
interrupted by a higher priority interrupt, but not by another interrupt
of the same or lower priority. The highest priority interrupt service
cannot be interrupted by any other interrupt source. So, if two
requests of different priority levels are received simultaneously, the
request of higher priority level is serviced.
If requests of the same priority level are received simultaneously, an
internal polling sequence determines which request is serviced. This
is called the arbitration ranking. Note that the arbitration ranking is
only used to resolve simultaneous requests of the same priority level.
Table 3 summarizes the interrupt sources, flag bits, vector
addresses, enable bits, priority bits, arbitration ranking, and whether
each interrupt may wake up the CPU from Power Down mode.
Table 3. Summary of Interrupts
Description
External Interrupt 0
Timer 0 Interrupt
External Interrupt 1
Timer 1 Interrupt
Serial Port Tx and Rx
Brownout Detect
I
2
C Interrupt
KBI Interrupt
Comparator 2 interrupt
Watchdog Timer
Comparator 1 interrupt
Timer I interrupt
Interrupt
Flag Bit(s)
IE0
TF0
IE1
TF1
TI & RI
BOF
ATN
KBF
CMF2
WDOVF
CMF1
Vector
Address
0003h
000Bh
0013h
001Bh
0023h
002Bh
0033h
003Bh
0043h
0053h
0063h
0073h
Interrupt
Enable Bit(s)
EX0 (IEN0.0)
ET0 (IEN0.1)
EX1 (IEN0.2)
ET1 (IEN0.3)
ES (IEN0.4)
EBO (IEN0.5)
EI2 (IEN1.0)
EKB (IEN1.1)
EC2 (IEN1.2)
EWD (IEN0.6)
EC1 (IEN1.5)
ETI (IEN1.7)
Interrupt
Priority
IP0H.0, IP0.0
IP0H.1, IP0.1
IP0H.2, IP0.2
IP0H.3, IP0.3
IP0H.4, IP0.4
IP0H.5, IP0.5
IP1H.0, IP1.0
IP1H.1, IP1.1
IP1H.2, IP1.2
IP0H.6, IP0.6
IP1H.5, IP1.5
IP1H.7, IP1.7
Arbitration
Ranking
1 (highest)
4
6
9
11
2
5
7
10
3
8
12 (lowest)
Power Down
Wakeup
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
Yes
No
2003 Sep 03
16