English
Language : 

C508_01 Datasheet, PDF (110/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
6.3
Capture/Compare Unit (CCU)
The Capture/Compare Unit (CCU) of the C508 has been designed for applications which
demand digital signal generation and/or event capturing (such as pulse width modulation
or pulse width measuring). It consists of a 16-bit three-channel Capture/Compare unit
(CAPCOM) and a 10-bit one-channel Compare unit (COMP).
In compare mode, the CAPCOM unit provides two output signals per channel, which can
have inverted signal polarity and non-overlapping pulse transitions. The COMP unit can
generate a single PWM output signal and is further used to modulate the CAPCOM
output signals. For motor control applications, both units (CAPCOM and COMP) may
generate versatile multichannel PWM signals. For brushless DC motors, dedicated
control modes are supported which are controllable by either software or hardware (hall
sensors).
2fOSC
16-Bit Capture/Compare Unit (CAPCOM)
Period Register
(CCPH, CCPL)
Mode
Select Register
(CMSEL0, CMSEL1)
Trap/Initialization
Registers (COINI,
COTRAP, TREN)
Offset Register
(CT1OFH,CT1OFL)
Compare
Timer 1
(16-Bit)
CC Channel 0
(CCH0, CCL0)
CC Channel 1
(CCH1, CCL1)
CC Channel 2
(CCH2, CCL2)
Port
Control
Logic
Cntrl. Register
(CT1CON)
CTRAP
CC0
COUT0
CC1
COUT1
CC2
COUT2
10-Bit Compare Unit (COMP)
Period Register
(CP2H, CP2L)
2fOSC
Compare
Timer 2
(10-Bit)
Compare Reg.
(CMP2H, CMP2L)
Cntrl. Register
(CT2CON)
Block
Commutation
Control
(BCON)
Figure 6-23 Capture/Compare Unit Block Diagram
User’s Manual
6-45
COUT3
INT0
INT1
INT2
MCB04064
2001-05