8051 Interrupts
8051 Interrupts
There are five interrupt sources for the 8051,which means that they can recognize 5different
events that can interrupt regular progran execution. The 8051 architecture handles 5 interrupt
sOurces, out of which two are internal (Timer Interrupts), two are external and one is a serial
interrupt. They are INTO, TFO, INT1, TF1, RVTI. Each interrupt can be enabled or disabled
by setting bits of the IE register and the whole interrupt system can bedisabled by clearing the
External Interrupt Enable (EA)bit of the same register.
Register TCON
Register IE
EXO
Pins
"O
NT
TFO
Interrupt
TF1
Tiier
TF2 ET
EXF2
æARTSPE R
SPIP