參數(shù)資料
型號(hào): TS80C51RA2-LIJB
廠商: Atmel Corp.
英文描述: High Performance 8-bit Microcontrollers
中文描述: 高性能8位微控制器
文件頁(yè)數(shù): 28/74頁(yè)
文件大?。?/td> 903K
代理商: TS80C51RA2-LIJB
28
Rev. C - 06 March, 2001
TS80C51RA2/RD2
TS83C51RB2/RC2/RD2
TS87C51RB2/RC2/RD2
Table 10. CCAPMn: PCA Modules Compare/Capture Control Registers
Table 11. PCA Module Modes (CCAPMn Registers)
There are two additional registers associated with each of the PCA modules. They are CCAPnH and
CCAPnL and these are the registers that store the 16-bit count when a capture occurs or a compare should
occur. When a module is used in the PWM mode these registers are used to control the duty cycle of the
output (See Table 12 & Table 13)
CCAPMn Address
n = 0 - 4
CCAPM0=0DAH
CCAPM1=0DBH
CCAPM2=0DCH
CCAPM3=0DDH
CCAPM4=0DEH
-
ECOMn CAPPn
CAPNn
MATn
TOGn
PWMm
ECCFn
Reset value
X
0
0
0
0
0
0
0
Symbol
Function
Not implemented, reserved for future use.
a
-
a.
User software should not write 1s to reserved bits. These bits may be used in future 8051 family
products to invoke new features. In that case, the reset or inactive value of the new bit will be 0, and its
active value will be 1. The value read from a reserved bit is indeterminate.
ECOMn
Enable Comparator. ECOMn = 1 enables the comparator function.
CAPPn
Capture Positive, CAPPn = 1 enables positive edge capture.
CAPNn
Capture Negative, CAPNn = 1 enables negative edge capture.
MATn
Match. When MATn = 1, a match of the PCA counter with this module's compare/capture
register causes the CCFn bit in CCON to be set, flagging an interrupt.
TOGn
Toggle. When TOGn = 1, a match of the PCA counter with this module's compare/capture
register causes the CEXn pin to toggle.
PWMn
Pulse Width Modulation Mode. PWMn = 1 enables the CEXn pin to be used as a pulse width
modulated output.
ECCFn
Enable CCF interrupt. Enables compare/capture flag CCFn in the CCON register to generate
an interrupt.
ECOMn CAPPn
CAPNn
MATn
TOGn
PWMm
ECCFn
Module Function
0
0
0
0
0
0
0
No Operation
X
1
0
0
0
0
X
16-bit capture by a positive-edge trigger
on CEXn
X
0
1
0
0
0
X
16-bit capture by a negative trigger on
CEXn
X
1
1
0
0
0
X
16-bit capture by a transition on CEXn
1
0
0
1
0
0
X
16-bit Software Timer / Compare mode.
1
0
0
1
1
0
X
16-bit High Speed Output
1
0
0
0
0
1
0
8-bit PWM
1
0
0
1
X
0
X
Watchdog Timer (module 4 only)
相關(guān)PDF資料
PDF描述
TS80C51RA2-LIJD High Performance 8-bit Microcontrollers
TS80C51RA2-LIJR High Performance 8-bit Microcontrollers
TS80C51RA2-LIKB High Performance 8-bit Microcontrollers
TS80C51RA2-LIKD High Performance 8-bit Microcontrollers
TS80C51RA2-LIKR High Performance 8-bit Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TS80C51RA2-LIJD 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LIJR 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LIKB 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LIKD 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers
TS80C51RA2-LIKR 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontrollers