參數(shù)資料
型號(hào): T89C51RD2-DDVCM
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 0 to 40 MHz Flash Programmable 8-bit Microcontroller
中文描述: 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, UUC
封裝: DIE
文件頁(yè)數(shù): 29/104頁(yè)
文件大小: 798K
代理商: T89C51RD2-DDVCM
29
T89C51RD2
4243G
8051
05/03
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
(Refer to Figure 9).
Figure 9.
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 10).
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
相關(guān)PDF資料
PDF描述
T89C51RD2-RDTCL 0 to 40 MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-RDTCM 0 to 40 MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SMSIL 0 to 40 MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SMSIM 0 to 40 MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SMUCM 0 to 40 MHz Flash Programmable 8-bit Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51RD2-DDVC-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-DDVI-L 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-DDVI-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-DDWC-L 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-DDWC-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller