datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

AT89C51CC03C-RLTIM View Datasheet(PDF) - Atmel Corporation

Part Name
Description
MFG CO.
AT89C51CC03C-RLTIM
Atmel
Atmel Corporation 
AT89C51CC03C-RLTIM Datasheet PDF : 197 Pages
First Prev 141 142 143 144 145 146 147 148 149 150 Next Last
High Speed Output Mode
In this mode the CEX output (on port 1) associated with the PCA module will toggle
each time a match occurs between the PCA counter and the module’s capture registers.
To activate this mode the TOG, MAT, and ECOM bits in the module’s CCAPMn SFR
must be set.
Figure 71. PCA High Speed Output Mode
Write to
CCAPnH Reset
CF CR
Write to
CCAPnL
“0” “1”
CCAPnH
CCAPnL
Enable
16-bit comparator
CCON
CCF4 CCF3 CCF2 CCF1 CCF0 0xD8
PCA IT
Match
CH
CL
CEXn
PCA counter/timer
CCAPMn, n = 0 to 4
ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn
0xDA to 0xDE
Pulse Width Modulator
Mode
All the PCA modules can be used as PWM outputs. The output frequency depends on
the source for the PCA timer. All the modules will have the same output frequency
because they all share the PCA timer. The duty cycle of each module is independently
variable using the module’s capture register CCAPLn. When the value of the PCA CL
SFR is less than the value in the module’s CCAPLn SFR the output will be low, when it
is equal to or greater than it, the output will be high. When CL overflows from FF to 00,
CCAPLn is reloaded with the value in CCAPHn. the allows the PWM to be updated with-
out glitches. The PWM and ECOM bits in the module’s CCAPMn register must be set to
enable the PWM mode.
146 AT89C51CC03
4182K–CAN–05/06

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]