DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT80C51RA2 データシートの表示(PDF) - Atmel Corporation

部品番号
コンポーネント説明
メーカー
AT80C51RA2
Atmel
Atmel Corporation Atmel
AT80C51RA2 Datasheet PDF : 86 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
• The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function.
Table 6-7 shows the CCAPMn settings for the various PCA functions.
.
Table 6-6. CCAPMn: PCA Modules Compare/Capture Control Registers
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. (1)
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.
1.
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.
Table 6-7. PCA Module Modes (CCAPMn Registers)
ECOMn CAPPn CAPNn
0
0
0
MATn
0
X
1
0
0
X
0
1
0
X
1
1
0
1
0
0
1
1
0
0
1
1
0
0
0
1
0
0
1
TOGn
0
0
0
0
0
1
0
X
PWMm ECCFn Module Function
0
0
No Operation
0
X
16-bit capture by a positive-edge trigger
on CEXn
0
X
16-bit capture by a negative trigger on
CEXn
0
X
16-bit capture by a transition on CEXn
0
X
16-bit Software Timer / Compare mode.
0
X
16-bit High Speed Output
1
0
8-bit PWM
0
X
Watchdog Timer (module 4 only)
28 AT/TS8xC51Rx2
4188F–8051–01/08

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]