Embedded Software Engineer Question: Download Embedded Software Engineer PDF

Explain me can we use printf inside ISR?

Tweet Share WhatsApp

Answer:

Printf function in ISR is not supported because printf function is not reentrant, thread safe and uses dynamic memory allocation which takes a lot of time and can affect the speed of an ISR up to a great extent.

Download Embedded Software Engineer PDF Read All 100 Embedded Software Engineer Questions
Previous QuestionNext Question
Tell me what is the need for DMAC in ES?Tell me why embedded system is useful?