English
Language : 

C167CS Datasheet, PDF (338/517 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller
C167CS
Derivatives
The Capture/Compare Units
When a match is detected for one of the two registers in a register pair (CCx or CCz) the
associated interrupt request flag (CCxIR or CCzIR) is set to ‘1’ and pin CCxIO
corresponding to bank 1 register CCx is toggled. The generated interrupt always
corresponds to the register that caused the match.
Note: If a match occurs simultaneously for both register CCx and register CCz of the
register pair pin CCxIO will be toggled only once but two separate compare
interrupt requests will be generated, one for vector CCxINT and one for vector
CCzINT.
In order to use the respective port pin as compare signal output pin CCxIO for compare
register CCx in double-register compare mode, this port pin must be configured as
output, i.e. the corresponding direction control bit must be set to ‘1’. With this
configuration, the output pin has the same characteristics as in compare mode 1.
Compare Reg. CCx
Comparator
Mode 1 (CCMODx)
Interrupt
Request
Input
Clock
CAPCOM Timer Ty
1
Toggle
Port
Latch
Comparator
Compare Reg. CCz
x = 23...16, 7...0
y = 0, 1, 7, 8
z = 31...24, 15...8
Mode 0 (CCMODz)
Figure 16-10 Double-Register Compare Mode Block Diagram
CCxIO
Interrupt
Request
MCB02022
User’s Manual
16-20
V2.0, 2000-07