T89C51CC01 Atmel, T89C51CC01 Datasheet - Page 125

no-image

T89C51CC01

Manufacturer Part Number
T89C51CC01
Description
Enhanced 8-Bit Microcontroller
Manufacturer
Atmel
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C51CC01CA-7CTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CA-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CA-SLSIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CASLIM
Quantity:
6 968
Part Number:
T89C51CC01UA-7CTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01UA-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Figure 55. PCA Capture Mode
16-bit Software Timer
Mode
Figure 56. PCA 16-bit Software Timer and High Speed Output Mode
4129K–CAN–01/05
Write to
CCAPnL
Write to CCAPnH
Reset
CEXn
n = 0, 4
“0”
“1”
PCA Counter
(8 bits)
CH
(8 bits)
CL
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.
7
-
Enable
7
0CAPPn CAPNn
-
Compare/Capture Module
CCAPnH
ECOMn0 0 MATn TOGn0 ECCFn
(8 bits)
16-Bit Comparator
0
CCAPMn Register (n = 0, 4)
CCAPnL
(8 bits)
000
For software Timer mode, set ECOMn and MATn.
For high speed output mode, set ECOMn, MATn and TOGn.
CCAPMn Register
Match
ECCFn
(n = 0, 4)
CCON
CCFn
CCFn
CCON reg
CCAPnH CCAPnL
Toggle
(8bits)
PCA Counter
CH
0
(8bits)
CL
T89C51CC01
PCA
Interrupt
Request
CEXn
PCA
Interrupt
Request
125

Related parts for T89C51CC01