T89C51CC02 Atmel, T89C51CC02 Datasheet - Page 112

no-image

T89C51CC02

Manufacturer Part Number
T89C51CC02
Description
8-Bit MCU
Manufacturer
Atmel
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C51CC02CA-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02CA-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02UA-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02UA-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC02UA-SITIM
Manufacturer:
Atmel
Quantity:
10 000
T89C51CC02
CCAPM0 (S:DAh)
CCAPM1 (S:DBh)
PCA Compare/Capture Module n Mode registers (n=0..1)
Reset Value = X000 0000b
112
Bit Number Bit Mnemonic
7
-
7
6
5
4
3
2
1
0
ECOMn
ECOMn
CAPNn
CAPPn
ECCFn
PWMn
MATn
TOGn
6
-
Reserved
Enable Compare Mode Module x bit
Capture Mode (Positive) Module x bit
Capture Mode (Negative) Module x bit
Match Module x bit
Toggle Module x bit
Pulse Width Modulation Module x Mode bit
Enable CCFx Interrupt bit
CAPPn
The Value read from this bit is indeterminate. Do not set this 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).
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
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.
Set when a match of the PCA Counter with the Compare/Capture register sets CCFx bit in CCON
register, flagging an interrupt.
Must be cleared by software.
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.
Must be cleared by software.
Set to configure the module x as an 8-bit Pulse Width Modulator with output waveform on CEXx pin.
Must be cleared by software.
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.
5
Figure 114. CCAPMn Registers
Preliminary
CAPNn
4
MATn
3
Description
TOGn
2
PWMn
Rev.A - May 17, 2001
1
ECCFn
0

Related parts for T89C51CC02