AT89C51CC02CA-TDSUM ATMEL [ATMEL Corporation], AT89C51CC02CA-TDSUM Datasheet - Page 124

no-image

AT89C51CC02CA-TDSUM

Manufacturer Part Number
AT89C51CC02CA-TDSUM
Description
Enhanced 8-bit Microcontroller with CAN Controller and Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
124
AT/T89C51CC02
Table 99. CCAPMn Registers
CCAPM0 (S:DAh)
CCAPM1 (S:DBh)
PCA Compare/Capture Module n Mode registers (n=0..1)
Reset Value = X000 0000b
Bit Number
7
-
7
6
5
4
3
2
1
0
ECOMn
6
Bit Mnemonic
ECOMn
CAPPn
CAPNn
ECCFn
PWMn
TOGn
MATn
CAPPn
-
5
Description
Reserved
The Value read from this bit is indeterminate. Do not set this bit.
Enable Compare Mode Module x bit
Clear to disable the Compare function.
Set to enable the Compare function.
The Compare function is used to implement the software Timer, the
high-speed output, the Pulse Width Modulator (PWM) and the
Watchdog Timer (WDT).
Capture Mode (Positive) Module x bit
Clear to disable the Capture function triggered by a positive edge
on CEXx pin.
Set to enable the Capture function triggered by a positive edge on
CEXx pin
Capture Mode (Negative) Module x bit
Clear to disable the Capture function triggered by a negative edge
on CEXx pin.
Set to enable the Capture function triggered by a negative edge on
CEXx pin.
Match Module x bit
Set when a match of the PCA Counter with the Compare/Capture
register sets CCFx bit in CCON register, flagging an interrupt.
Toggle Module x bit
The toggle mode is configured by setting ECOMx, MATx and TOGx
bits.
Set when a match of the PCA Counter with the Compare/Capture
register toggles the CEXx pin.
Pulse Width Modulation Module x Mode bit
Set to configure the module x as an 8-bit Pulse Width Modulator
with output waveform on CEXx pin.
Enable CCFx Interrupt bit
Clear to disable CCFx bit in CCON register to generate an interrupt
request.
Set to enable CCFx bit in CCON register to generate an interrupt
request.
CAPNn
4
MATn
3
TOGn
2
PWMn
1
4126J–CAN–05/06
ECCFn
0

Related parts for AT89C51CC02CA-TDSUM