All Exams Test series for 1 year @ ₹349 only
Question

The number of interrupts handled by 8051 microcontroller (other than Reset) is _____.

The correct answer is

5

8051 Microcontroller Interrupt Sources Explained

The 8051 microcontroller is a popular 8-bit microcontroller known for its efficiency and versatility in embedded systems. A key feature of any microcontroller is its ability to handle interrupts, which are signals that indicate an event requiring immediate attention from the processor.

Understanding 8051 Interrupts

Interrupts allow the microcontroller to pause its current task, execute a specific routine (Interrupt Service Routine or ISR) to handle the event, and then resume the original task. The 8051 microcontroller supports several interrupt sources. The question specifically asks for the number of interrupts handled by the 8051, excluding the Reset interrupt.

List of 8051 Interrupts

The 8051 microcontroller has a total of 5 interrupt sources that can be individually enabled or disabled. These are:

  • External Interrupt 0 (INT0): Triggered by a signal on the INT0 pin (P3.2).
  • Timer Flag 0 (TF0): Set when Timer/Counter 0 overflows.
  • External Interrupt 1 (INT1): Triggered by a signal on the INT1 pin (P3.3).
  • Timer Flag 1 (TF1): Set when Timer/Counter 1 overflows.
  • Serial Port Interrupt (RI/TI): This single interrupt vector covers both Receive Interrupt (RI) and Transmit Interrupt (TI) for serial communication.

While the Reset pin also affects the microcontroller's operation, it is a hardware reset mechanism and not typically counted among the programmable interrupt sources managed by the internal interrupt controller. Therefore, excluding the Reset, the 8051 handles 5 distinct interrupts.

Was this answer helpful?

Important Questions from Microprocessors and Microcontrollers

  1. Data and address bus width of 8085 microprocessor respectively are

  2. How many bits are used in the data bus of 8051 ?

  3. 16-bit registers consist of:

  4. The 8051 microcontroller has __________ on-chip RAM and __________ on-chip ROM.
  5. Arrange the following 8051 interrupts in increasing priority order. 

    A. Timer interrupt 0 (TF0) 

    B. Timer interrupt 1 (TF1) 

    C. External interrupt 0 (INT0) 

    D. External interrupt 1 (INT1) 

    Choose the correct answer from the options given below:

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App