T89C51CC02 Atmel, T89C51CC02 Datasheet - Page 106

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
16.4. 16-bit Software Timer Mode
The PCA modules can be used as software timers by setting both the ECOM and MAT bits in the modules
CCAPMn register. The PCA timer will be compared to the module’s capture registers and when a match occurs
an interrupt will occur if the CCFn (CCON SFR) and the ECCFn (CCAPMn SFR) bits for the module are both set.
106
Write to
CCAPnL
Write to CCAPnH
Reset
“0”
“1”
PCA Counter
Figure 107. PCA 16-bit Software Timer and High Speed Output Mode
CH
CL
Enable
7
-
Compare/Capture Module
CCAPnH
ECOMn00MATnTOGn0ECCFn
16-Bit
Comparator
0
Preliminary
CCAPnL
For software Timer mode, set ECOMn and MATn.
For high speed output mode, set ECOMn, MATn and
TOGn.
CCAPMn Register
Match
(n = 0, 1)
CCON reg
CCFn
Toggle
Rev.A - May 17, 2001
CEXn
PCA
Interrupt
Request

Related parts for T89C51CC02