English
Language : 

XC164-16 Datasheet, PDF (189/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
Capture/Compare Unit 6 (CAPCOM6)
The channel state register CMPSTAT contains status bits displaying the current capture
or compare state and control bits defining the active/passive state of a compare channel.
CCU6_CMPSTAT
Compare State Register
XSFR (E8A8H/--)
Reset Value: 0000H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
T13
IM
C
OUT
63PS
C
OUT
62PS
CC
62PS
C
OUT
61PS
CC
61PS
C
OUT
60PS
CC
60PS
-
CC
63ST
CC
POS
2
CC
POS
1
CC
POS
0
CC CC CC
62ST 61ST 60ST
rwh rwh rwh rwh rwh rwh rwh rwh - rh rh rh rh rh rh rh
Field
Bits Type Description
T13IM
15
COUT63PS1) 14
COUT62PS 13
CC62PS
12
COUT61PS 11
CC61PS
10
COUT60PS 9
CC60PS
8
rwh T13 Inverted Modulation Control
Bit T13IM inverts signal CC63_O for the modulation
of the CC6x and COUT6x (x = 0, 1, 2) signals
0 CC63_O is not inverted
1 CC63_O is inverted for further modulation
rwh Passive State Select for Compare Output
Bit COUT6xPS/CC6xPS selects the state of the
compare channel, considered as the passive state.
During the passive state, the passive level (defined in
register PSLR) is driven by the output pin.
0 The compare output drives passive level while
CC6xST is 0
1 The compare output drives passive level while
CC6xST is 1
Note: In capture mode, these bits are not used.
CC63ST2)
6
CC62ST
2
CC61ST
1
CC60ST
0
rh
T13/T12 Compare State Bit
Bits CC6xST monitor the state of the capture/
compare channels.
Compare mode:
0 The timer count is less than the compare value
1 The timer count is greater than the comp. value
Capture mode (channels 0 … 2 only):
0 The selected edge has not yet been detected
1 The selected edge has been detected
CCPOSx
5, 4, 3 rh
Sampled Hall Pattern Bits
1) These bits have shadow bits and are updated in parallel to the capture/compare registers of T12 or T13,
respectively. A read action targets the actually used values, whereas a write action targets the shadow bits.
2) These bits are set and reset according to the T12, T13 switching rules.
User’s Manual
CAPCOM6_X, V2.0
18-45
V2.1, 2004-03