参数资料
型号: AT80C51RB2-3CSUM
厂商: Atmel Corp.
英文描述: 80C51 High Performance ROM 8-bit Microcontroller
中文描述: 80C51的高性能ROM的8位微控制器
文件页数: 31/83页
文件大小: 672K
代理商: AT80C51RB2-3CSUM
32
AT80C51RD2/AT83C51Rx2
4113B–8051–03/05
Figure 11.
PCA Compare Mode and PCA Watchdog Timer
Before enabling ECOM bit, CCAPnL and CCAPnH should be set with a non zero value,
otherwise an unwanted match could happen. Writing to CCAPnH will set the ECOM bit.
Once ECOM 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.
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 12).
A prior write must be done to CCAPnL and CCAPnH before writing the ECOMn bit.
CH
CL
CCAPnH
CCAPnL
ECOMn
CCAPMn, n = 0 to 4
0xDA to 0xDE
CAPNn MATn TOGn PWMn ECCFn
CAPPn
16 bit comparator
Match
CCON
0xD8
PCA IT
Enable
PCA counter/timer
RESET *
CIDL
CPS1 CPS0
ECF
CMOD
0xD9
WDTE
Reset
Write to
CCAPnL
Write to
CCAPnH
CF
CCF2 CCF1
CCF0
CR
CCF3
CCF4
1
0
相关PDF资料
PDF描述
AT80C51RB2-RLTIL 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTIM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTUL 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTUM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSCM 80C51 High Performance ROM 8-bit Microcontroller
相关代理商/技术参数
参数描述
AT80C51RB2-RLTIL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTIM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTUM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSCM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller