參數(shù)資料
型號(hào): P89C662
廠商: NXP Semiconductors N.V.
英文描述: 80C51 8-Bit Flash Microcontroller 32KB ISP/IAP FLASH with 1KB RAM(80C51 8位閃速微控制器,帶16KB ISP/IAP閃速存儲(chǔ)器和1KB RAM)
中文描述: 80C51的8位閃存微控制器具有32KB的ISP /聯(lián)合會(huì)與1kB的內(nèi)存(80C51的8位閃速微控制器,帶16KB的供應(yīng)商/聯(lián)合會(huì)閃速存儲(chǔ)器和閃存的1kB的RAM)
文件頁(yè)數(shù): 56/89頁(yè)
文件大小: 490K
代理商: P89C662
Philips Semiconductors
Product data
P89C660/P89C662/P89C664/
P89C668
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM
2002 Oct 28
56
CCAPMn
Address
CCAPM0
CCAPM1
CCAPM2
CCAPM3
CCAPM4
0C2H
0C3H
0C4H
0C5H
0C6H
Reset Value = X000 0000B
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
Not Bit Addressable
Bit:
Symbol
Function
ECOMn
CAPPn
CAPNn
MATn
Not implemented, reserved for future use*.
Enable Comparator. ECOMn = 1 enables the comparator function.
Capture Positive, CAPPn = 1 enables positive edge capture.
Capture Negative, CAPNn = 1 enables negative edge capture.
Match. When MATn = 1, a match of the PCA counter with this module’s compare/capture register causes the CCFn bit
in CCON to be set, flagging an interrupt.
Toggle. When TOGn = 1, a match of the PCA counter with this module’s compare/capture register causes the CEXn
pin to toggle.
Pulse Width Modulation Mode. PWMn = 1 enables the CEXn pin to be used as a pulse width modulated output.
Enable CCF interrupt. Enables compare/capture flag CCFn in the CCON register to generate an interrupt.
TOGn
PWMn
ECCFn
NOTE:
*User software should not write 1s to reserved bits. These bits may be used in future 8051 family products to invoke new features. In that case, the reset or inactive value of the new
bit will be 0, and its active value will be 1. The value read from a reserved bit is indeterminate.
SU01100
7
6
5
4
3
2
1
0
Figure 45. CCAPMn: PCA Modules Compare/Capture Registers
X
X
X
X
X
X
X
X
ECOMn
0
X
X
X
1
1
1
1
CAPPn
0
1
0
1
0
0
0
0
CAPNn
0
0
1
1
0
0
0
0
MATn
0
0
0
0
1
1
0
1
Figure 46. PCA Module Modes (CCAPMn Register)
TOGn
0
0
0
0
0
1
0
X
PWMn
0
0
0
0
0
0
1
0
ECCFn
0
X
X
X
X
X
0
X
MODULE FUNCTION
No operation
16-bit capture by a positive-edge trigger on CEXn
16-bit capture by a negative trigger on CEXn
16-bit capture by a transition on CEXn
16-bit Software Timer
16-bit High Speed Output
8-bit PWM
Watchdog Timer
PCA Capture Mode
To use one of the PCA modules in the capture mode, either one or
both of the CCAPM bits CAPN and CAPP for that module must be
set. The external CEX input for the module (on port 1) is sampled for
a transition. When a valid transition occurs, the PCA hardware loads
the value of the PCA counter registers (CH and CL) into the
module’s capture registers (CCAPnL and CCAPnH). If the CCFn bit
for the module in the CCON SFR and the ECCFn bit in the CCAPMn
SFR are set, then an interrupt will be generated (refer to Figure 47).
16-bit Software Timer Mode
The PCA modules can be used as software timers by setting both
the ECOM and MAT bits in the modules CCAPMn register. The PCA
timer will be compared to the module’s capture registers, and when
a match occurs, an interrupt will occur if the CCFn (CCON SFR) and
the ECCFn (CCAPMn SFR) bits for the module are both set (see
Figure 48).
High Speed Output Mode
In this mode, the CEX output (on port 1) associated with the PCA
module will toggle each time a match occurs between the PCA
counter and the module’s capture registers. To activate this mode,
the TOG, MAT, and ECOM bits in the module’s CCAPMn SFR must
be set (see Figure 49).
Pulse Width Modulator Mode
All of the PCA modules can be used as PWM outputs. Figure 50
shows the PWM function. The frequency of the output depends on
the source for the PCA timer. All of the modules will have the same
frequency of output because they all share the PCA timer. The duty
cycle of each module is independently variable by using the
module’s capture register CCAPLn. When the value of the PCA CL
SFR is less than the value in the module’s CCAPLn SFR, the output
will be low. When it is equal to or greater than, the output will be
high. When CL overflows from FF to 00, CCAPLn is reloaded with
the value in CCAPHn. This allows PWM update without glitches.
The PWM and ECOM bits in the module’s CCAPMn register must
be set to enable the PWM mode.
相關(guān)PDF資料
PDF描述
P89C668HBA 80C51 8-bit Flash microcontroller family 64KB ISP FLASH with 8KB RAM
P89C668HFA 80C51 8-bit Flash microcontroller family 64KB ISP FLASH with 8KB RAM
P89C668 80C51 8-bit Flash microcontroller family 64KB ISP FLASH with 8KB RAM
P89C668HBBD 80C51 8-bit Flash microcontroller family 64KB ISP FLASH with 8KB RAM
P89CE558 Single-chip 8-bit microcontroller(8位單片微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
P89C662HBA 制造商:PHILIPS 制造商全稱(chēng):NXP Semiconductors 功能描述:80C51 8-bit Flash microcontroller family
P89C662HBA/00,512 功能描述:IC 80C51 MCU FLASH 32K 44-PLCC RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:89C 產(chǎn)品培訓(xùn)模塊:MCU Product Line Introduction XMEGA Introduction AVR XMEGA USB Connectivity 標(biāo)準(zhǔn)包裝:90 系列:AVR® XMEGA 核心處理器:AVR 芯體尺寸:8/16-位 速度:32MHz 連通性:I²C,IrDA,SPI,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,DMA,POR,PWM,WDT 輸入/輸出數(shù):50 程序存儲(chǔ)器容量:192KB(96K x 16) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:4K x 8 RAM 容量:16K x 8 電壓 - 電源 (Vcc/Vdd):1.6 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 16x12b; D/A 2x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:64-TQFP 包裝:托盤(pán) 配用:ATSTK600-RC14-ND - STK600 SOCKET/ADAPTER 64TQFPATSTK600-TQFP64-ND - STK600 SOCKET/ADAPTER 64-TQFPATAVRONEKIT-ND - KIT AVR/AVR32 DEBUGGER/PROGRMMRATAVRISP2-ND - PROGRAMMER AVR IN SYSTEM
P89C662HBBD 制造商: 功能描述: 制造商:undefined 功能描述:
P89C662HBBD/00,557 制造商:NXP Semiconductors 功能描述:
P89C662HFA 制造商:PHILIPS 制造商全稱(chēng):NXP Semiconductors 功能描述:80C51 8-bit Flash microcontroller family