While writing interrupt handlers (ISR), which are points
needed to be considered ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain whether we can use semaphore or mutex or spinlock in interrupt context in linux kernel?

547


What type of software simulator and developer have you used?

496


What is a 'volatile' variable?

546


what is the command/instruction in ARM that does not do anything or does not execute any instruction ? (except NOP instruction)

2769


What are the advantages and disadvantages of separation of concerns?

537






What is the difference between locking and lockless (optimistic and pessimistic) concurrency models?

495


Tell us what is the need for an infinite loop in embedded systems?

522


Can a volatile be constant? Like

542


Why does pre-emptive multi-threading used to solve the central controller problem?

526


Tell me what are the different types of buses used by the embedded systems?

482


What is watchdog timer?

592


Why do we need a infinite loop in embedded systems development? What are the different ways by which you can code in a infinite loop?

591


Tell me what is the purpose of using critical sections?

489


What is size of character, integer, integer pointer, character pointer?

513


Explain the differences between analytical and computational modeling?

507