参数资料
型号: AT80C51RB2-RLTIM
厂商: Atmel Corp.
英文描述: 80C51 High Performance ROM 8-bit Microcontroller
中文描述: 80C51的高性能ROM的8位微控制器
文件页数: 30/83页
文件大小: 672K
代理商: AT80C51RB2-RLTIM
31
AT80C51RD2/AT83C51Rx2
4113B–8051–03/05
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 mod-
ule (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
(see Figure 10).
Figure 10.
PCA Capture Mode
16-bit Software Timer/
Compare 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 11).
CF
CR
CCON
0xD8
CH
CL
CCAPnH
CCAPnL
CCF4 CCF3
CCF2
CCF1 CCF0
PCA IT
PCA Counter/Timer
ECOMn
CCAPMn, n= 0 to 4
0xDA to 0xDE
CAPNn MATn TOGn PWMn ECCFn
CAPPn
Cex.n
Capture
相关PDF资料
PDF描述
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-SLSIL 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSIM 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
AT80C51RB2-SLSIL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSIM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller