Download User`s Manual 08.97 8-Bit CMOS Microcontroller http://www.siemens

Transcript
Interrupt System
C517A
The SFR IEN2 includes the enable bits for the compare match with compare register interrupts, the
compare timer overflow interrupt, and the serial interface 1 interrupt.
Special Function Register IEN2 (Address 9AH)
Bit No.
9AH
Reset Value : XX0000X0B
MSB
7
6
5
4
3
2
1
LSB
0
–
–
ECR
ECS
ECT
ECMP
–
ES1
Bit
Function
–
Reserved bits for future use.
ECR
COMCLR register compare match interrupt enable
If ECR = 0, the COMCLR compare match interrupt is disabled.
ECS
COMSET register compare match interrupt enable
If ECS = 0, the COMSET compare match interrupt is disabled.
ECT
Enable compare timer interrupt enable
If ECT = 0, the compare timer overflow interrupt is disabled.
ECMP
CM0-7 register compare match interrupt enable
If ECMP = 0, the CM0-7 compare match interrupt is disabled.
ES1
Serial Interface 1 interrupt enable
if ES1 = 0, the serial interrupt 1 is disabled.
Semiconductor Group
7-7
IEN2
1997-08-01