AT89C51CC03U-S3SIM ATMEL [ATMEL Corporation], AT89C51CC03U-S3SIM Datasheet - Page 144

no-image

AT89C51CC03U-S3SIM

Manufacturer Part Number
AT89C51CC03U-S3SIM
Description
Enhanced 8-bit MCU with CAN Controller and Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Figure 69. PCA Capture Mode
16-bit Software Timer
Mode
Figure 70. PCA 16-bit Software Timer and High Speed Output Mode
144
Write to
CCAPnL
Write to CCAPnH
Reset
AT89C51CC03
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.
CAPMn
7
CAPMn
ECOMn CAPPn
Enable
7
Compare/Capture Module
CCAPnH
(8 bits)
ECOMn
16-Bit Comparator
0
CCAPMn Register (n = 0, 4)
CAPPn
CCAPnL
(8 bits)
CAPNn
For software Timer mode, set ECOMn and MATn.
For high speed output mode, set ECOMn, MATn and TOGn.
CAPNn
CCAPMn Register
Match
MATn
(n = 0, 4)
MATn
CCON
CCFn
TOGn PWMn ECCFn
TOGn
CCFn
CCON reg
CCAPnH CCAPnL
Toggle
PWMn ECCFn
(8bits)
PCA Counter
CH
0
(8bits)
CL
4182I–CAN–06/05
PCA
Interrupt
Request
CEXn
PCA
Interrupt
Request

Related parts for AT89C51CC03U-S3SIM