English
Language : 

C868_02 Datasheet, PDF (114/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
On-Chip Peripheral Components
Capture/Compare Control Registers
The Compare State Register CMPSTAT contains status bits monitoring the current
capture and compare state and control bits defining the active/passive state of the
compare channels.
CMPSTATL
Compare State Register,Low Byte
[Reset value: 00H]
7
6
5
4
3
2
1
0
-
CC63ST
-
-
-
CC62ST CC61ST CC60ST
r
rh
r
r
r
rh
rh
rh
Field
CC60ST
CC61ST
CC62ST
CC63ST
1)
-
Bits Typ Description
0
rh Capture/Compare State Bits
1
Bits CC6xST monitor the state of the capture/
2
compare channels. Bits CC6xST (x=0, 1, 2) are
6
related to T12, bit CC63ST is related to T13.
0 In compare mode, the timer count is less than
the compare value. In capture mode, the
selected edge has not yet been detected since
the bit has been reset by SW the last time.
1 In compare mode, the counter value is greater
than or equal to the compare value. In capture
mode, the selected edge has been detected.
[5:3], 7 r
reserved;
returns ’0’ if read; should be written with ’0’;
1) These bits are set and reset according to the T12, T13 switching rules
CMPSTATH
Compare State Register,High Byte
7
6
5
4
T13IM
rwh
COUT
63PS
rwh
COUT
62PS
rwh
CC62PS
rwh
3
COUT
61PS
rwh
2
CC61PS
rwh
[Reset value: 00H]
1
0
COUT
60PS
rwh
CC60PS
rwh
User’s Manual
4-70
V 0.4, 2002-01