English
Language : 

C509-L_97 Datasheet, PDF (143/290 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
On-Chip Peripheral Components
C509-L
6.3.4.6 Compare / Capture Operation with Compare Timer 1
The C509-L Compare/Capture Unit (CCU) has a third timer - the compare timer 1 (CT1). This timer
is assigned to port 9. The port 9 alternate functions are dedicated for the CT1 controlled
compare/capture capability.
The compare/capture registers, the reload registers, and the control registers (except CT1CON)
related to compare timer 1 are mapped to the registers of the compare timer. This means, that the
CT1 registers have the same register address as the compare timer registers. The compare timer
1 related registers are selected when bit RMAP, which located in the SFR SYSCON, is set during
a register access. If RMAP=0, the compare timer related register are accessed.
As an extract from table 6-4, table 6-4 lists all CT1 registers which are mapped to the compare
timer registers. Further details about the RMAP bit are given in chapter 3.5.
Table 6-7
Compare Timer / Compare Timer 1 Related Mapped Special Function Registers of the CCU
Address
D2H
D3H
D4H
D5H
D6H
D7H
E2H
E3H
E4H
E5H
E6H
E7H
Symbol
CML0
CC1L0
CMH0
CC1H0
CML1
CC1L1
CMH1
CC1H1
CML2
CC1L2
CMH2
CC1H2
CML3
CC1L3
CMH3
CC1H3
CML4
CC1L4
CMH4
CC1H4
CML5
CC1L5
CMH5
CC1H5
Description
Compare Register 0, Low Byte
Compare/Capture 1 Register 0, Low Byte
Compare Register 0, High Byte
Compare/Capture 1 Register 0, High Byte
Compare Register 1, Low Byte
Compare/Capture 1 Register 1, Low Byte
Compare Register 1, High Byte
Compare/Capture 1 Register 1, High Byte
Compare Register 2, Low Byte
Compare/Capture 1 Register 2, Low Byte
Compare Register 2, High Byte
Compare/Capture 1 Register 2, High Byte
Compare Register 3, Low Byte
Compare/Capture 1 Register 3, Low Byte
Compare Register 3, High Byte
Compare/Capture 1 Register 3, High Byte
Compare Register 4, Low Byte
Compare/Capture 1 Register 4, Low Byte
Compare Register 4, High Byte
Compare/Capture 1 Register 4, High Byte
Compare Register 5, Low Byte
Compare/Capture 1 Register 5, Low Byte
Compare Register 5, High Byte
Compare/Capture 1 Register 5, High Byte
Access by
RMAP =
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Semiconductor Group
6-65
1997-10-01