at89c51rd2-smsum ATMEL Corporation, at89c51rd2-smsum Datasheet - Page 40
at89c51rd2-smsum
Manufacturer Part Number
at89c51rd2-smsum
Description
8-bit Flash Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
1.AT89C51RD2-SMSUM.pdf
(137 pages)
- Current page: 40 of 137
- Download datasheet (2Mb)
40
AT89C51RD2/ED2
Table 13-3 shows the CCAPMn settings for the various PCA functions.
Table 13-3.
CCAPM0 - PCA Module 0 Compare/Capture Control Register (0DAh)
CCAPM1 - PCA Module 1 Compare/Capture Control Register (0DBh)
CCAPM2 - PCA Module 2 Compare/Capture Control Register (0DCh)
CCAPM3 - PCA Module 3 Compare/Capture Control Register (0DDh)
CCAPM4 - PCA Module 4 Compare/Capture Control Register (0DEh)
Reset Value = X000 0000b
Not bit addressable
Number
Bit
7
7
6
5
4
3
2
1
0
-
Mnemonic
CCAPMn Registers (n = 0-4)
ECOMn
ECOMn
CAPNn
CAPPn
PWMn
MATn
TOGn
CCF0
Bit
6
-
Description
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Enable Comparator
Cleared to disable the comparator function.
Set to enable the comparator function.
Capture Positive
Cleared to disable positive edge capture.
Set to enable positive edge capture.
Capture Negative
Cleared to disable negative edge capture.
Set to enable negative edge capture.
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.
Toggle
When TOGn = 1, a match of the PCA counter with this module's compare/capture
register causes the CEXn pin to toggle.
Pulse Width Modulation Mode
Cleared to disable the CEXn pin to be used as a pulse width modulated output.
Set to enable the CEXn pin to be used as a pulse width modulated output.
Enable CCF interrupt
Cleared to disable compare/capture flag CCFn in the CCON register to generate an
interrupt.
Set to enable compare/capture flag CCFn in the CCON register to generate an interrupt.
CAPPn
5
CAPNn
4
MATn
3
TOGn
2
PWMn
1
4235J–8051–01/08
ECCFn
0
Related parts for at89c51rd2-smsum
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
AT89C51RD2-IM8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 40DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 40DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
8-bit microcontroller with 4K bytes flash, 5V, 20MHz
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit microcontroller with 4K bytes flash, 5V, 20MHz
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44TQFP
Manufacturer:
Atmel
Datasheet: