Explain me can we use printf inside isr?
Answer / Vijendra Singh
It's generally not recommended to use 'printf' or any library functions that rely on dynamic memory allocation within an Interrupt Service Routine (ISR). This is because the ISR should be as short and deterministic as possible, to minimize the time spent executing it and reduce the possibility of missing other interrupts. Instead, ISRs should focus on handling the interrupt quickly and returning control back to the main program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell me how does the interrupts handle by using the threads?
Who are the gang of four? Why should you care?
Explain the concept of separation of concerns and it's pros and cons.
What is a semaphore? What are the different types of semaphore?
What kinds of problems can you hit with locking model? And a lockless model?
Discuss the concept of yagni.
List out some of the commonly found errors in Embedded Systems?
Please write a program to show the functionality of power-save super loop?
How to create a child process in linux?
A=7; b=8; x=a++-b; printf(“%d”, x ); what does this code give as output?
Explain me what is semaphore?
If you've integrated new software in an existing system, tell us how you evaluated and identified the requirements for this new technology.