XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-56
V1.3, 2010-02
CCU6, V 1.0
The Compare Status Modification Register contains control bits allowing for modification
by software of the Capture/Compare state bits.
CMPSTATH
Compare State Register High
Reset Value: 00
H
7
6
5
4
3
2
1
0
T13
IM
C
OUT63PS
C
OUT62PS
CC
62PS
C
OUT61PS
CC
61PS
C
OUT60PS
CC
60PS
rwh
rwh
rwh
rwh
rwh
rwh
rwh
rwh
Field
Bits
Type Description
CC6xPS
(x = 0, 1, 2)
COUT6xPS
(x = 0, 1, 2, 3)
0, 2,
4
1, 3,
5, 6
rwh
Passive State Select for Compare Outputs
Bits CC6xPS, COUT6xPS select the state of the
corresponding compare channel, which is considered
to be the passive state. During the passive state, the
passive level (defined in register PSLR) is driven by
the output pin. Bits CC6xPS, COUT6xPS (x = 0, 1, 2)
are related to T12, bit COUT63PS is related to T13.
0
The corresponding compare output drives
passive level while CC6xST is 0.
1
The corresponding compare output drives
passive level while CC6xST is 1.
These bits have shadow bits and are updated in
parallel to the capture/compare registers of T12 and
T13, respectively. A read action targets the actually
used values, whereas a write action targets the
shadow bits.
In capture mode, these bits are not used.
T13IM
7
rwh
T13 Inverted Modulation
Bit T13IM inverts the T13 signal for the modulation of
the CC6x and COUT6x (x = 0, 1, 2) signals.
0
T13 output is not inverted.
1
T13 output is inverted for further modulation.
This bit has a shadow bit and is updated in parallel to
the compare and period registers of T13. A read action
targets the actually used values, whereas a write
action targets the shadow bit.
*