answersLogoWhite

0


Best Answer

It is a routine in a micro controllers program where the program jumps to after receiving a interrupt on the micro's interrupt pin. Because most micro's can only run one programme at a time, one need a way for the micro to stop doing what it's busy with, to service an outside peripheral that need urgent attention. For instance the micro is running a flashing LED, a push button that one want to use to stop the flashing and start to flash another LED is connected to the interrupt pin of the micro then the program save what it was busy with on a stag and immediately start the interrupt routine.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is mean by interrupt service routine?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Electrical Engineering

How you find number of machine cycle?

Machines do not have a cycle unless it is repetitive in nature. in computer that would be called frame rate. airplanes uses this kind of computer to insure that all data is collected and accounted for withing a real time frame. Even a PC has these rates but they are called interrupt cycles requests. In other words stop service the interrupt and proceed.


What is the difference between an air break switch and an isolator?

An air-break link (ABL) switch is designed to interrupt normal load currents (but not fault currents). In order to do so, they usually incorporate some form of very simple arc-extinguishing feature.An isolator switch, on the other hand, is not designed to interrupt current, but to isolate equipment after that equipment has been disconnected (e.g. by opening a circuit breaker).


What does properly grounded mean?

Properly grounded means that all metallic parts of equipment capable of carrying current, in a short circuit condition, will have the same or be at the same potential as that of the service ground.


What is fusing current?

The fusing current is a value of current that causes the fuse to melt and interrupt the flow of current. Usually, reference is made to the minimum fusing current which is the smallest value of current that will cause the fuse to melt.


What gauge wire for service entrance in Wisconsin?

Depends on the size of the service. 100 amp service will require 3 gauge, 150 amp service will require 1/0 gauge, and 200 amp service will require 3/0 gauge.

Related questions

A CPU generally handles an interrupt by executing an interrupt service routine?

By checking the interrupt register at fixed time intervals


What happens when interrupts comes?

Interrupt handler is responsible for following functions:- Determine the interrupt source. Determine the service routine to serve the interrupt source.


What is the full form of ISR IN Computer system architecture?

full form of the ISR is interrupt service routine.


What is a TrapHandler?

A trap handler, also called an interrupt handler or interrupt service routine (ISR) is a program that executes when predefined events occur in a computer. There are software and hardware interrupts. An interrupt causes the computer's processor to stop running its current task and immediately run the trap handler to service the interrupt.


What is a High Level Interrupt Service Routine?

Please go through the Link: http://gohelrakesh.wordpress.com/2008/09/28/nucleus-interrupt-handling/ - Regards, Duraimurugan Arjunan


Why used interrupts?

An interrupt is a signal from hardware (h/w interrupt) or software (s/w interrupt) to indicate the occurence of an event. It indicates the need of a change in execution. Interrupt handling or servicing of the interrupts depends upon the design of the operating system. A routine which will be called for servicing the interrupt is known as interrupt service routine or ISR and the request for the ISR through an interrupt is known as interrupt request or IRQ. Interrupt is a mechanism used for implementing the multitasking concept. It will use the concept of context switching, for servicing the request.


What is key difference between a trap and interrupt?

An interrupt is generally initiated by an I/O device, and causes the CPU to stop what it's doing, save its context, jump to the appropriate interrupt service routine, complete it, restore the context, and continue execution. For example, a serial device may assert the interrupt line and then place an interrupt vector number on the data bus. The CPU uses this to get the serial device interrupt service routine, which it then executes as above.A trap is usually initiated by the CPU hardware. When ever the trap condition occurs (on arithmetic overflow, for example), the CPU stops what it's doing, saves the context, jumps to the appropriate trap routine, completes it, restores the context, and continues execution. For example, if overflow traps are enabled, adding two very large integers would cause the overflow bit to be set AND the overflow trap service routine to be initiated.


What is an interrupt How are multiple interrupts dealt with?

An interrupt is a request to execute different code, initiated usually by a hardware condition such as data-ready or operation-complete, but also sometimes initiated by the running program. The processor saves its immediate state, IP and Flags, on the stack and loads a new IP value, effectively doing a CALL sequence to some interrupt service routine. The routine does whatever processing is required, and returns, restoring the running program. Under normal conditions, the interrupt response sequence disables further interrupts, so that recursive entry does not occur. The service routine reenables interrupts just before returning, so that pending or further interrupts can be processed. If multiple interrupt levels are to be supported, such as in the 8085, the interrupt service routine can set the interrupt mask, blocking the level in progress, and then reenable interrupts. This way, a second interrupt on a higher level can be processed while the first interrupt is being processed. On return, the lower level interrupt disables interrupts, restores the mask, and then reenables interrupts prior to return.


What is the difference between polling and vector interrupt service routine?

polling interrupt is alternative to the vector interrupt , it requires that the interrupt handler poll or send a signal to each device in turn in order to find out which one is sent the interrupt request.....


What is interrupt acknowledge?

Interrupt acknowledge is the process of acknowledging a hardware interrupt, obtaining an interrupt vector address, and initiating the interrupt service routine in software. The INTA- (Interrupt Acknowledge) pin has the same timing as RD-, and external hardware is expected to provide an opcode in response to it. In the case of TRAP, RST7.5, RST6.5, and RST5.5, there is no specific interrupt acknowledge cycle like there is for INTR, but everything else is the same.


What is HISR and LISR in embedded systems context?

HISR: High Level ISR (Interrupt Service Routine) LISR: Low Level ISR


What are the rules to be followed by the interrupt routines in rtos?

1)an interrupt routine must not call any rtos function that bmight block the caller inthe future2)an interrupt routine may not call any rtos function that might cause rtos to switch task unless the rtos knows that an interrupt routine is not a task executive.