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

89C51RC2-UL 参数 Datasheet PDF下载

89C51RC2-UL图片预览
型号: 89C51RC2-UL
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有16K / 32K字节的闪存 [8-bit Microcontroller with 16K/ 32K Bytes Flash]
分类和应用: 闪存微控制器
文件页数/大小: 127 页 / 1478 K
品牌: ATMEL [ ATMEL ]
 浏览型号89C51RC2-UL的Datasheet PDF文件第37页浏览型号89C51RC2-UL的Datasheet PDF文件第38页浏览型号89C51RC2-UL的Datasheet PDF文件第39页浏览型号89C51RC2-UL的Datasheet PDF文件第40页浏览型号89C51RC2-UL的Datasheet PDF文件第42页浏览型号89C51RC2-UL的Datasheet PDF文件第43页浏览型号89C51RC2-UL的Datasheet PDF文件第44页浏览型号89C51RC2-UL的Datasheet PDF文件第45页  
AT89C51RB2/RC2  
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 modules capture registers.  
To activate this mode the TOG, MAT, and ECOM bits in the modules CCAPMn SFR  
must be set (see Figure 15).  
A prior write must be done to CCAPnL and CCAPnH before writing the ECOMn bit.  
Figure 15. PCA High-speed Output Mode  
CCON  
CF  
CR  
CCF4 CCF3 CCF2 CCF1 CCF0  
0xD8  
Write to  
CCAPnL  
Reset  
PCA IT  
Write to  
CCAPnH  
CCAPnH  
CCAPnL  
0
Enable  
1
Match  
16-bit Comparator  
CEXn  
CH  
CL  
PCA Counter/Timer  
CCAPMn, n = 0 to 4  
0xDA to 0xDE  
ECOMnCAPPn CAPNn MATn TOGn PWMn ECCFn  
Before enabling ECOM bit, CCAPnL and CCAPnH should be set with a non-zero value,  
otherwise an unwanted match could occur.  
Once ECOM is set, writing CCAPnL will clear ECOM so that an unwanted match doesn’t  
occur while modifying the compare value. Writing to CCAPnH will set ECOM. For this  
reason, user software should write CCAPnL first, and then CCAPnH. Of course, the  
ECOM bit can still be controlled by accessing to CCAPMn register.  
41  
4180E–8051–10/06  
 复制成功!