While writing interrupt handlers (ISR), which are points
needed to be considered ?
Answers were Sorted based on User's Feedback
Answer / jay
Avoid sleep , use GFP_ATOMIC instead of GFP_KERNEL in kmalloc
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / rajesh
While writing ISR it is necessary to remember which routine is having high priority
Initialize the stack pointer
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / baazicha
- Do not issue blocking calls
- Defer as much processing to second level interrupt
handler or BH.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shawn bai
not take too long,actually calling dpc
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dinesh
while writing ISR you should have proper knowledge about
it......... - by chandu
| Is This Answer Correct ? | 1 Yes | 4 No |
Explain what is size of character, integer, integer pointer, character pointer?
Tell me what are buses used for communication in embedded system?
What elements of oo design are most prone to abuse? How would you mitigate that?
What are little endian and big endian types of storage? How can you identify which type of allocation a system follows?
What is isr? Can they be passed any parameter and can they return a value?
Tell me what is the need for having multibyte data input and output buffers in case of device ports?
How can you reduce interrupt latency?
How can you ensure that debugging a program while it's being used will not affect its functionality?
How does inversion of control relate to dependency injection?
Tell me what is the need for an infinite loop in embedded systems?
What's the difference between unit test and integration test?
Give an example of troubleshooting on embedded targets. Explain the process step-by-step.