at89c51cc02ua-tdsum ATMEL Corporation, at89c51cc02ua-tdsum Datasheet - Page 118

no-image

at89c51cc02ua-tdsum

Manufacturer Part Number
at89c51cc02ua-tdsum
Description
At89c51cc02, T89c51cc02 Enhanced 8-bit Microcontroller With Can Controller And Flash
Manufacturer
ATMEL Corporation
Datasheet
16-bit Software Timer
Mode
Figure 49. PCA 16-bit Software Timer and High Speed Output Mode
118
Write to
CCAPnL
Write to CCAPnH
Reset
AT/T89C51CC02
“0”
“1”
PCA Counter
(8 bits)
CH
(8 bits)
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.
CL
Enable
7
-
Compare/Capture Module
CCAPnH
(8 bits)
ECOMn0 0 MATn TOGn0 ECCFn
16-bit Comparator
0
CCAPnL
(8 bits)
For software Timer mode, set ECOMn and MATn.
For high speed output mode, set ECOMn, MATn and TOGn.
CCAPMn Register
Match
(n = 0, 1)
CCFn
CCON reg
Toggle
CEXn
PCA
Interrupt
Request
4126L–CAN–01/08

Related parts for at89c51cc02ua-tdsum