English
Language : 

C508_01 Datasheet, PDF (134/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
Capture/Compare Registers of CAPCOM Unit
The capture/compare registers are 16-bit registers, organized as two 8-bit byte-wide
registers. Each of the three CAPCOM channels has one capture/compare register. In
compare mode, they hold a compare value which typically defines the duty cycle of the
output signals. In capture mode, the actual Compare Timer 1 value is transferred into the
Capture/Compare registers at a Capture event.
If CCLx/CCHx is written, shadow latches are always loaded. The content of these
shadow latches is transferred to the real registers when STE1 is set and the Compare
Timer 1 reaches its period value (operating mode 0) or count value 0000H (operating
mode 1). When the Capture/Compare registers are read, the real registers are always
accessed because of capture mode.
Special Function Registers CCL0/CCH0 (Addresses F2H / F3H) Reset Value: 00H
Special Function Registers CCL1/CCH1 (Addresses F4H / F5H) Reset Value: 00H
Special Function Registers CCL2/CCH2 (Addresses F6H / F7H) Reset Value: 00H
Bit No. MSB
LSB
7
6
5
4
3
2
1
0
F2H
.7
.6
.5
.4
.3
.2
.1 LSB CCL0
F3H MSB .6
.5
.4
.3
.2
.1
.0 CCH0
F4H
.7
.6
.5
.4
.3
.2
.1 LSB CCL1
F5H MSB .6
.5
.4
.3
.2
.1
.0 CCH1
F6H
.7
.6
.5
.4
.3
.2
.1 LSB CCL2
F7H MSB .6
.5
.4
.3
.2
.1
.0 CCH2
Bit
CCLx.7 - 0
x = 0-2
CCHx.7 - 0
x = 0-2
Function
Capture/Compare value, low byte
The 8-bit value in the CCLx register is the low byte of the 16-bit
capture/compare value of channel x.
Capture/Compare value, high byte
The 8-bit value in the CCHx register is the low byte of the 16-bit
capture/compare value of channel x.
User’s Manual
6-69
2001-05