• Home
  • QUESTIONS & ANSWERS
  • Integrated Circuits (ICs)
  • What is the basic concept of interruption?

    * Question

    What is the basic concept of interruption?


    *
    Answer

    When the CPU is processing a certain message, if an emergency suddenly occurs outside the environment and the CPU is requested to temporarily stop the current work, the emergency event is processed instead.After the CPU has finished processing the emergency, it will return to the place where it was interrupted and continue the original work.The source of the request to request the CPU to generate an interrupt is called the interrupt source.The interrupt system of the microcontroller generally allows multiple interrupt sources.

    When several interrupt sources simultaneously request a interrupt to the CPU, there is a problem that the CPU preferentially responds to which interrupt source request.When the CPU is processing an interrupt request and another interrupt source request with higher priority occurs, the CPU can temporarily suspend the execution of the original interrupt source and process the interrupt request with higher priority.After processing, return to the original low priority interrupt processing service program.


    COMMENTS

    WORDPRESS: 0
    DISQUS: 0