Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is an Interrupt service routine?

user-image
Question added by Sagarika Panigrahy , Test Engineer , Al Gabra Technologies And Services WLL
Date Posted: 2017/03/17
santosh Das
by santosh Das , Embedded Design and Development Engineer , Concept shapers and Electronics PVT LTD

ISR - Interrupt Service Routine is a Interrupt Handler function in a Kernel of OS or RTOS  i.e; when the interrupt (Hardware or Software) occurs the resource time of the OS is triggered to halt state and subroutine or callback function searches the position or priority in the ISR table and execute the program as per the priority.

Majeed Khan
by Majeed Khan , Manager Research And Development , MRA Solutions

AS the name describes, when interrupt is called the programs stop executing the main program and jumps to the ISR (Interrupt Service routine) and performs the code written on the ISR. It can be analogues to emergency like when it is called the MCU stops whatever it is doing and perform the ISR 

Sanjay Chaursiya
by Sanjay Chaursiya , Student , Vector India Institute

In computer systems programming, an interrupt handler, also known as an interrupt service routine or isr , is a callback function in microcontroller firmware, an operating system, or a device driver whose execution is triggered by the reception of an interrupt. when interrupt is generated the cpu jumps to a special code call isr address.

salman khan
by salman khan , Site Engineer , IZHAR Group Of Companies

this is a software routine that call on the hardware to give a response to the interrupt

Fahadkhan Khan
by Fahadkhan Khan , Senior Electronics Design Engineer

A routine that runs when a external or internal trigger occurs or a state changes software start executing interrupt routines and stops the current routine , after interrupt routine is services, software resumes the current routine which it had stopped., 

Deleted user
by Deleted user

Suppose you are working & you feel thirsty. You will stop for a while, drink some water & resume your work.Being thirsty is here to be taken as an interrupt. An interrupt causes the microcontroller to halt the execution of the main program & execute the command given in the ISR (Interrupt Service Routine).  

uzair ahmad
by uzair ahmad , Research Associate , Air university

ISR is a subroutine written specially for interrupts. when interrupt has been called by some random event, the microcontroller jumps to the subroutine and read it first and then come back to the main program.

Mohammed Elsadig
by Mohammed Elsadig , Lecturer , University of medical sciences and technology

Internet Service Routine or ISR is the portion in memory in which a specific interrupt logic firmware is exists, and it is written by the Embedded systems programmer when he wants to use an interrupt option to handle a specific application.

vetrivel murugan
by vetrivel murugan , Hardware And Application Engineer , AKAS Medical Equipment

A set of specific funtion or program defined to respponse to an configured interrupt form external harware. It can be called form any funtion of the program linked with the application running

More Questions Like This