While writing interrupt handlers (ISR), which are points needed to be considered?
Submitted by: AdministratorAvoid sleep , use GFP_ATOMIC instead of GFP_KERNEL in kmalloc
Submitted by: Administrator
Submitted by: Administrator
1.Interrupt latency
2.Declare interrupt variable as volatile and declared as global variable bcz isr don't return any values .
3.we have to write less code in ISR routine
4.When isr rises the compiler will save register values and PC value into the stac
Submitted by: Someswara Rao Badana
2.Declare interrupt variable as volatile and declared as global variable bcz isr don't return any values .
3.we have to write less code in ISR routine
4.When isr rises the compiler will save register values and PC value into the stac
Submitted by: Someswara Rao Badana
Read Online Embedded System Job Interview Questions And Answers
Top Embedded System Questions
☺ | While writing interrupt handlers (ISR), which are points needed to be considered? |
☺ | Can we use semaphore or mutex or spin lock in interrupt context in linux kernel? |
☺ | Write a code in C / Verilog to implement a basic FIR filter? |
☺ | DMA deals with which address (physical/virtual addresses)? |
Top Computer Embedded Systems Categories
☺ | DSP Interview Questions. |
☺ | Embedded System Interview Questions. |
☺ | Very-large-scale integration (VLSI) Interview Questions. |
☺ | 86 Family Interview Questions. |