Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
HANEL
INTERRUPTSEnabling and Disabling an Interrupt
(cont’)
EX0
ET0
EX1
ET1
ES
ET2
--
EA
Enables or disables external interrupt 0
IE.0
EX0
Enables or disables timer 0 overflow interrupt
IE.1
ET0
Enables or disables external interrupt 1
IE.2
EX1
Enables or disables timer 1 overflow interrupt
IE.3
ET1
Enables or disables the serial port interrupt
IE.4
ES
Enables or disables timer 2 overflow or capture interrupt (8952)
IE.5
ET2
Not implemented, reserved for future use
IE.6
--
Disables all interrupts
IE.7
IE (Interrupt Enable) RegisterD7 EA
D0
EA (enable all) must be set to 1 in order for rest of the register to take effect