Explain me what is interrupt latency and how can we decrease it?
Submitted by: Muhammad1. Interrupt latency basically refers to the time span an interrupt is generated and it being serviced by an appropriate routine defined, usually the interrupt handler.
2. External signals, some condition in the program or by the occurrence of some event, these could be the reasons for generation of an interrupt.
3. Interrupts can also be masked so as to ignore them even if an event occurs for which a routine has to be executed.
4. Following steps could be followed to reduce the latency
☛ ISRs being simple and short.
☛ Interrupts being serviced immediately
☛ Avoiding those instructions that increase the latency period.
☛ Also by prioritizing interrupts over threads.
☛ Avoiding use of inappropriate APIs.
Submitted by: Muhammad
2. External signals, some condition in the program or by the occurrence of some event, these could be the reasons for generation of an interrupt.
3. Interrupts can also be masked so as to ignore them even if an event occurs for which a routine has to be executed.
4. Following steps could be followed to reduce the latency
☛ ISRs being simple and short.
☛ Interrupts being serviced immediately
☛ Avoiding those instructions that increase the latency period.
☛ Also by prioritizing interrupts over threads.
☛ Avoiding use of inappropriate APIs.
Submitted by: Muhammad
Read Online Advanced Embedded Systems Job Interview Questions And Answers
Top Advanced Embedded Systems Questions
☺ | Tell me what is the difference between microprocessor and microcontroller? |
☺ | Do you know what is lst file? |
☺ | What is high-end embedded processor? |
☺ | What is interrupt latency? How can you reduce it? |
☺ | What is embedded system in a computer system? |
Top New Artificial Intelligence Categories
☺ | Virtual Assistant Interview Questions. |
☺ | Artificial Intelligence Robotics Interview Questions. |
☺ | AI Fuzzy Logic Interview Questions. |
☺ | Artificial Intelligence Neural Networks Interview Questions. |
☺ | Artificial Intelligence Games Interview Questions. |