In: Electrical Engineering
Interrupts are used in many fields of industry. Give an example of the applications of interrupt. You can also share the interrupts that may be use in your senior project.
As mentioned, interrupts are used in many fields of industry. The main usage of an interrupt is to temporarily stop the working of a system and transfer the control to the interrupt module. After the completion of the interrupt process, the system resumes the working from where it was before interruption.
A simple example is the illustration of interrupt in microcontrollers.
Switching a Led on and off
Here, the Pic microcontroller is used to switch on and off an led using a switch. Here when the switch is on, the interrupt works and glows the led. Basically, the control of the switch is implemented through usage of this interrupt. This is a basic example of an interrupt.
Similarly, another example is smartphone. Smartphone has many push buttons like volume button, power button, mode etc. So, when the user pushes a particular button, the smartphone detects an interrupt and hence gives control to the interrupt. This is basically what an interrupt does.