English
Language : 

C508_01 Datasheet, PDF (148/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
Compare Timer 2 Compare Registers
The compare registers CMP2H/CMP2L of Compare Timer 2 hold the 10-bit compare
value which defines the duty cycle of the output signal at COUT3. When the Compare
Timer 2 value is equal to the value stored in the CMP2H/CMP2L register, the COUT3
signal changes from passive to active state. If CMP2H/CMP2L is written, only shadow
latches are written. The content of these latches is transferred to the real registers when
compare timer count value 000H is reached and bit STE2 of SFR CT2CON has been set.
When the compare registers CMP2H/CMP2L are read, the shadow registers are always
accessed.
Special Function Registers CMP2L (Address D4H)
Special Function Registers CMP2H (Address D5H)
Reset Value: 00H
Reset Value: XXXXXX00B
Bit No. MSB
LSB
7
6
5
4
3
2
1
0
D4H
.7
.6
.5
.4
.3
.2
.1
.0 CMP2L
D5H
–
–
–
–
–
–
.1
.0 CMP2H
Bit
CMP2L.7 - 0
CMP2H.1 - 0
–
Function
Compare Timer 2 compare value, low byte
The CMP2L register holds the lower 8 bits of the 10-bit compare value
for Compare Timer 2.
Compare Timer 2 compare value, high bits
The CMP2H register holds most significant two bits of the 10-bit
Compare value for Compare Timer 2.
Reserved bits
User’s Manual
6-83
2001-05