beautypg.com

2 registers – Rainbow Electronics T89C51CC01 User Manual

Page 127

background image

127

T89C51CC01

Rev. D – 17-Dec-01

18.2 Registers

Table 89. IEN0 Register

IEN0 (S:A8h)
Interrupt Enable Register

Reset Value: 0000 0000b
bit addressable

7

6

5

4

3

2

1

0

EA

EC

ET2

ES

ET1

EX1

ET0

EX0

Bit

Number

Bit

Mnemonic

Description

7

EA

Enable All interrupt bit
Clear to disable all interrupts.
Set to enable all interrupts.
If EA=1, each interrupt source is individually enabled or disabled by setting or
clearing its interrupt enable bit.

6

EC

PCA Interrupt Enable
Clear to disable the PCA interrupt.
Set to enable the PCA interrupt.

5

ET2

Timer 2 overflow interrupt Enable bit
Clear to disable timer 2 overflow interrupt.
Set to enable timer 2 overflow interrupt.

4

ES

Serial port Enable bit
Clear to disable serial port interrupt.
Set to enable serial port interrupt.

3

ET1

Timer 1 overflow interrupt Enable bit
Clear to disable timer 1 overflow interrupt.
Set to enable timer 1 overflow interrupt.

2

EX1

External interrupt 1 Enable bit
Clear to disable external interrupt 1.
Set to enable external interrupt 1.

1

ET0

Timer 0 overflow interrupt Enable bit
Clear to disable timer 0 overflow interrupt.
Set to enable timer 0 overflow interrupt.

0

EX0

External interrupt 0 Enable bit
Clear to disable external interrupt 0.
Set to enable external interrupt 0.