[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


1)What is an interrupt? 2)Explain briefly giving an example...

<< Back to: 8051 microcontroller FAQ

Question by vidusha
Submitted on 4/27/2004
Related FAQ: 8051 microcontroller FAQ
Rating: Rate this question: Vote
1)What is an interrupt?
2)Explain briefly giving an example how an interupt is serviced?



Answer by vasu raina
Submitted on 1/11/2005
Rating: Not yet rated Rate this answer: Vote
A specific sequence of events takes place when an interrupt is processed. You should write the ISR and IST for your device driver with the following sequence of events in mind:

When an interrupt occurs, the microprocessor jumps to the kernel exception handler.
The exception handler disables all equal and lower-priority interrupts at the microprocessor and calls the appropriate ISR for the physical interrupt line.
The ISR returns a logical interrupt, in the form of an interrupt identifier, to the interrupt handler and typically masks the board-level device interrupt.
The interrupt handler re-enables all interrupts at the microprocessor, with the exception of the current interrupt, which is left masked at the board, and signals the appropriate IST event.
The IST is scheduled and services the hardware and finishes processing the interrupt.

 

Answer by FBI
Submitted on 3/10/2005
Rating: Not yet rated Rate this answer: Vote
Simply Interrupt means request for service.  

Ex:  By pressing the hot keys ctrl+alt+del suddenly the processor turns into the interrupt which is specified above by suspending the work which is currently doing.  After the interruption is finished the work continues from the position which is leaved previously.

 

Answer by thedumbone
Submitted on 5/22/2005
Rating: Not yet rated Rate this answer: Vote
A signal informing a program that an event has occurred. When a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal). Interrupt signals can cause a program to suspend itself temporarily to service the interrupt.
Interrupt signals can come from a variety of sources. For example, every keystroke generates an interrupt signal. Interrupts can also be generated by other devices, such as a printer, to indicate that some event has occurred. These are called hardware interrupts. Interrupt signals initiated by programs are called software interrupts. A software interrupt is also called a trap or an exception.


 

Answer by esrever
Submitted on 1/11/2006
Rating: Not yet rated Rate this answer: Vote
A signal informing a program that an event has occurred. When a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal). Interrupt signals can cause a program to suspend itself temporarily to service the interrupt.

http://exasoft.co.nr  

 

Answer by Malawi chap
Submitted on 4/11/2006
Rating: Not yet rated Rate this answer: Vote
An interrupt is a signal to the processor telling it that some event has occurred and it requires its attention. Interrupts came from several sources with some coming from input/output devices and others from internal programs. There are two types of Interrupts. Maskable and Non maskable. Masked interrupts are those that can be masked out on condition. while Non masked interrupts are the ones that can not be ignored. These are very important interrupts such as pressing a reset button.

2. When an interrupt occurs, for instance a keyboard key has been pressed, a signal is sent to the processor that a key on the keyboard has been pressed. The processor temporarily suspends execution of current instruction and calls a an interrupts service routine to handle that. After the interrupt has been handled the ISR is dismissed and the processor send its control back to continue with the execution where it left.

 

Answer by jhjghjgh
Submitted on 10/5/2006
Rating: Not yet rated Rate this answer: Vote
ghjhgjgh

 

Answer by MALAWI Boy
Submitted on 10/24/2006
Rating: Not yet rated Rate this answer: Vote
An interrupt is a signal either from hardware or from a program that interrupts the normal processing of the CPU alerting it that something has happened and requires its urgent attention.

When an interrupt occurs the computer suspends what it was executing and jumps to call the interrupt service routine to handle the interrupt. It saves the current state, including the registers on the stack so that after handling the interrupt it can restored the state and registers and resume execution where it stopped.

 

Answer by Demetris
Submitted on 4/15/2007
Rating: Not yet rated Rate this answer: Vote
An interrupt is an event that stops the current process in the CPU so that the CPU can attend to the task needing completion because of the event

 

Answer by Skhu
Submitted on 6/5/2007
Rating: Not yet rated Rate this answer: Vote
A hardware or software generated signal which is caused by a change in hardware state.

 

Your answer will be published for anyone to see and rate.  Your answer will not be displayed immediately.  If you'd like to get expert points and benefit from positive ratings, please create a new account or login into an existing account below.


Your name or nickname:
If you'd like to create a new account or access your existing account, put in your password here:
Your answer:

FAQS.ORG reserves the right to edit your answer as to improve its clarity.  By submitting your answer you authorize FAQS.ORG to publish your answer on the WWW without any restrictions. You agree to hold harmless and indemnify FAQS.ORG against any claims, costs, or damages resulting from publishing your answer.

 

FAQS.ORG makes no guarantees as to the accuracy of the posts. Each post is the personal opinion of the poster. These posts are not intended to substitute for medical, tax, legal, investment, accounting, or other professional advice. FAQS.ORG does not endorse any opinion or any product or service mentioned mentioned in these posts.

 

<< Back to: 8051 microcontroller FAQ


[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]

© 2008 FAQS.ORG. All rights reserved.