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

89C51RB2-CM 参数 Datasheet PDF下载

89C51RB2-CM图片预览
型号: 89C51RB2-CM
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器与16K / 32K字节的闪存 [Microcontroller with 16K/32K Bytes Flash]
分类和应用: 闪存微控制器
文件页数/大小: 127 页 / 1455 K
品牌: ATMEL [ ATMEL ]
 浏览型号89C51RB2-CM的Datasheet PDF文件第27页浏览型号89C51RB2-CM的Datasheet PDF文件第28页浏览型号89C51RB2-CM的Datasheet PDF文件第29页浏览型号89C51RB2-CM的Datasheet PDF文件第30页浏览型号89C51RB2-CM的Datasheet PDF文件第32页浏览型号89C51RB2-CM的Datasheet PDF文件第33页浏览型号89C51RB2-CM的Datasheet PDF文件第34页浏览型号89C51RB2-CM的Datasheet PDF文件第35页  
AT89C51RB2/RC2  
Programmable  
Counter Array (PCA)  
The PCA provides more timing capabilities with less CPU intervention than the standard  
timer/counters. Its advantages include reduced software overhead and improved accu-  
racy. The PCA consists of a dedicated timer/counter which serves as the time base for  
an array of five compare/capture Modules. Its clock input can be programmed to count  
any one of the following signals:  
Peripheral clock frequency (FCLK PERIPH) ÷ 6  
Peripheral clock frequency (FCLK PERIPH) ÷ 2  
Timer 0 overflow  
External input on ECI (P1.2)  
Each compare/capture Modules can be programmed in any one of the following modes:  
Rising and/or falling edge capture  
Software timer  
High-speed output  
Pulse width modulator  
Module 4 can also be programmed as a watchdog timer (see Section "PCA Watchdog  
Timer", page 42).  
When the compare/capture Modules are programmed in the capture mode, software  
timer, or high speed output mode, an interrupt can be generated when the Module exe-  
cutes its function. All five Modules plus the PCA timer overflow share one interrupt  
vector.  
The PCA timer/counter and compare/capture modules share Port 1 for external I/O.  
These pins are listed below. If one or several bits in the port are not used for the PCA,  
they can still be used for standard I/O.  
PCA Component  
16-bit Counter  
External I/O Pin  
P1.2/ECI  
16-bit Module 0  
16-bit Module 1  
16-bit Module 2  
16-bit Module 3  
P1.3/CEX0  
P1.4/CEX1  
P1.5/CEX2  
P1.6/CEX3  
The PCA timer is a common time base for all five Modules (see Figure 11). The timer  
count source is determined from the CPS1 and CPS0 bits in the CMOD register  
(Table 22) and can be programmed to run at:  
1/6 the peripheral clock frequency (FCLK PERIPH  
1/2 the peripheral clock frequency (FCLK PERIPH  
The Timer 0 overflow  
)
)
The input on the ECI pin (P1.2)  
31  
4180C–8051–12/03  
 复制成功!