TS80C51RA2 Atmel Corporation, TS80C51RA2 Datasheet - Page 27
TS80C51RA2
Manufacturer Part Number
TS80C51RA2
Description
High Performance 8-bit Microcontroller
Manufacturer
Atmel Corporation
Datasheet
1.TS80C51RA2.pdf
(83 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
TS80C51RA2-LCB
Manufacturer:
TEMIC
Quantity:
114
Company:
Part Number:
TS80C51RA2-LIB
Manufacturer:
TEMIC
Quantity:
5
Company:
Part Number:
TS80C51RA2-MCB
Manufacturer:
CY
Quantity:
1 590
Company:
Part Number:
TS80C51RA2-VCB
Manufacturer:
TEMIC
Quantity:
19
4188A–8051–10/02
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)
Table 12. CCAPnH: PCA Modules Capture/Compare Registers High
Table 13. CCAPnL: PCA Modules Capture/Compare Registers Low
ECOMn CAPPn CAPNn
X
X
X
0
1
1
1
1
CCAPnH
Address
n = 0 - 4
CCAPnL
Address
n = 0 - 4
0
1
0
1
0
0
0
0
CCAP0L=0EAH
CCAP1L=0EBH
CCAP2L=0ECH
CCAP3L=0EDH
CCAP4L=0EEH
CCAP0H=0FAH
CCAP1H=0FBH
CCAP2H=0FCH
CCAP3H=0FDH
CCAP4H=0FEH
Reset value
Reset value
0
0
1
1
0
0
0
0
MATn
0
0
0
0
1
1
0
1
7
0
TOGn
7
0
X
0
0
0
0
0
1
0
6
0
PWMm
6
0
0
0
0
0
0
0
1
0
5
0
ECCFn Module Function
5
0
X
X
X
X
X
X
0
0
4
0
4
0
trigger on CEXn
on CEXn
CEXn
mode.
No Operation
16-bit capture by a positive-edge
16-bit capture by a negative trigger
16-bit capture by a transition on
16-bit Software Timer / Compare
16-bit High Speed Output
8-bit PWM
Watchdog Timer (module 4 only)
3
0
TS8xC51Rx2
3
0
2
0
2
0
1
0
1
0
0
0
0
0
27