Interrupts 8051 Microcontroller
Interrupts 8051 Microcontroller
Interrupts 8051 Microcontroller
Introduction
• In the 8051 there is only one interrupt set aside for serial
communication
This interrupt is used to both send and receive data
If the interrupt bit in the IE register (IE.4)is enabled, when
RI or TI is raised the 8051 gets interrupted and jumps to
memory location 0023H to execute the ISR
In that ISR we must examine the TI and RI flags to see
which one caused the interrupt and respond accordingly
Priority of Interrupts