T89C51RD2-3CSCL ATMEL [ATMEL Corporation], T89C51RD2-3CSCL Datasheet - Page 28

no-image

T89C51RD2-3CSCL

Manufacturer Part Number
T89C51RD2-3CSCL
Description
0 to 40 MHz Flash Programmable 8-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
28
T89C51RD2
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 14 &
Table 15)
Table 14. CCAPnH: PCA Modules Capture/Compare Registers High
Table 15. CCAPnL: PCA Modules Capture/Compare Registers Low
Table 16. CH: PCA Counter High
Table 17. CL: PCA Counter Low
ECOMn CAPPn CAPNn
Address 0F9H
Address 0E9H
1
CCAPnL
Address
n = 0 - 4
CCAPnH
Address
n = 0 - 4
CH
CL
0
CCAP0H=0FAH
CCAP1H=0FBH
CCAP2H=0FCH
CCAP3H=0FDH
CCAP4H=0FEH
CCAP2L=0ECH
CCAP3L=0EDH
CCAP0L=0EAH
CCAP1L=0EBH
CCAP4L=0EEH
Reset value
Reset value
Reset value
Reset value
0
MATn
1
7
0
7
0
7
0
7
0
TOGn
X
6
0
6
0
6
0
6
0
PWMm
0
5
0
5
5
5
0
0
0
ECCFn
X
4
0
4
0
4
0
4
0
Watchdog Timer (module 4 only)
3
0
3
0
3
0
3
0
Module Function
2
0
2
0
2
0
2
0
4243G–8051–05/03
1
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0

Related parts for T89C51RD2-3CSCL