English
Language : 

C515A_9708 Datasheet, PDF (78/182 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
On-Chip Peripheral Components
C515A
Special Function Register IEN0 (Address A8H)
Special Function Register IEN1 (Address B8H)
Special Function Register IRCON (Address C0H)
MSB
Bit No. AFH
AEH
ADH
ACH
ABH AAH
A8H EAL WDT ET2 ES ET1 EX1
A9H
ET0
Reset Value : 00H
Reset Value : 00H
Reset Value : 00H
LSB
A8H
EX0 IEN0
Bit No. BFH BEH
B8H EXEN2 SWDT
BDH
EX6
BCH
EX5
BBH
EX4
BAH
EX3
B9H B8H
EX2 EADC
IEN1
Bit No.
C0H
C7H
EXF2
C6H C5H
TF2 IEX6
C4H C3H C2H
IEX5 IEX4 IEX3
C1H C0H
IEX2 IADC
IRCON
The shaded bits are not used in timer/counter 2 interrupt control.
Bit
ET2
EXEN2
EXF2
TF2
Function
Timer 2 overflow / external reload interrupt enable.
If ET2 = 0, the timer 2 interrupt is disabled.
If ET2 = 1, the timer 2 interrupt is enabled.
Timer 2 external reload interrupt enable
If EXEN2 = 0, the timer 2 external reload interrupt is disabled.
If EXEN2 = 1, the timer 2 external reload interrupt is enabled. The external reload
function is not affected by EXEN2.
Timer 2 external reload flag
EXF2 is set when a reload is caused by a falling edge on pin T2EX while EXEN2 =
1. If ET2 in IEN0 is set (timer 2 interrupt enabled), EXF2 = 1 will cause an interrupt.
EXF2 can be used as an additional external interrupt when the reload function is
not used. EXF2 must be cleared by software.
Timer 2 overflow flag
Set by a timer 2 overflow and must be cleared by software. If the timer 2 interrupt
is enabled, TF2 = 1 will cause an interrupt.
Semiconductor Group
6-27
1997-08-01