C509-L_97 SIEMENS [Siemens Semiconductor Group], C509-L_97 Datasheet - Page 117

no-image

C509-L_97

Manufacturer Part Number
C509-L_97
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
6.3.2
These two timers - the fourth and fifth timer in the C509-L - are implemented to function as a fast
16-bit time base for the compare registers CM0 to CM7 and CC10 to CC17. The compare timers
are combined with the CMx/CC1x registers and can be used for high-speed output purposes or as
a fast 16-bit pulse-width modulation unit.
Prior to the description of the compare timer operating modes and functions, the compare timer
related special function registers are described.
6.3.2.1
Each of the two compare timers has a 8-bit control register and a 16-bit reload register. These 6
special function registers are described in this section.
Special Function Register CTCON
Special Function Register CT1CON
Bit
ICR
ICS
CTF
Semiconductor Group
Bit No.
BC H
E1 H
Operation of the Compare Timers
Compare Timer and Compare Timer 1 Registers
The shaded bits are not used for compare timer control.
T2PS1
MSB
7
7
CT1P
CTP
Function
Interrupt request flag for compare register COMCLR
ICR is set when a compare match occurred. ICR is cleared by hardware
when the processor vectors to interrupt routine.
Interrupt request flag for compare register COMSET
ICS is set when a compare match occurred. ICS is cleared by hardware
when the processor vectors to interrupt routine.
Compare timer overflow flag
CTF is set when the compare timer 1 count rolls over from all ones to the
reload value. When CTF is set, a compare timer interrupt can be
generated (if enabled). CTF is cleared by hardware when the compare
timer value is no more equal to the reload value.
6
6
ICR
5
5
ICS
(Address E1 H )
(Address BC H )
4
4
6-39
CT1F CLK12 CLK11 CLK10
CTF
3
3
On-Chip Peripheral Components
CLK2
2
2
CLK1
1
1
Reset Value : X1XX0000 B
Reset Value : 01000000 B
CLK0
LSB
0
0
CTCON
CT1CON
1997-10-01
C509-L

Related parts for C509-L_97