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

no-image

C509-L_97

Manufacturer Part Number
C509-L_97
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
The compare timer interrupt is generated by bit CTF in register CTCON, which is set by a rollover
in the compare timer. lf a compare timer interrupt is generated, flag CTF can be cleared by software.
The compare timer 1 interrupt is generated by bit CT1F in register CT1CON, which is set by a
rollover in the compare timer. lf a compare timer interrupt is generated, flag CT1F can be cleared
by software.
The timer 2 compare match set and compare match clear interrupt is generated by bits ICS
and ICR in register CTCON. These flags are set by a match in registers COMSET and COMCLR,
when enabled. As long as the match condition is valid the request flags can't be reset (neither by
hardware nor software).
Special Function Register CTCON (Address. E1 H )
Special Function Register CT1CON (Address BC H )
Bit
ICR
ICS
CTF
CT1F
Semiconductor Group
Bit No.
BC H
E1 H
The shaded bits are not used for interrupt purposes.
T2PS1
Function
Interrupt request flag for compare register COMCLR
ICR is set when a compare match occured. ICR is cleared ba hardware when the
processor vectors to interrupt routine.
Interrupt request flag for compare register COMSET
ICS is set when a compare match occured. 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.
Compare timer 1 overflow flag
CT1F is set when the compare timer 1 count rolls over from all ones to the reload
value. When CT1F is set, a compare timer 1 interrupt can be generated (if enabled).
CT1F is cleared by hardware when the compare timer 1 value is no more equal its
reload value.
MSB
7
7
CT1P
CTP
6
6
ICR
5
5
ICS
4
4
7-16
CT1F CLK12 CLK11 CLK10
CTF
3
3
CLK2
2
2
CLK1
1
1
Reset Value : X1XX0000 B
Reset Value : 01000000 B
CLK0
Interrupt System
LSB
0
0
CTCON
CT1CON
1997-10-01
C509-L

Related parts for C509-L_97