1.

Can We Use Printf Inside Isr?

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.

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.



Discussion

No Comment Found