Dear Frnds,
Do serial communication like " printf " can work inside interrupt??? Is there any Potential problem with communication with serial communication inside a interrupt????
Rajesh
using printf in an Interrupt routine is a very bad idea!
It's not reentrant, for a start.
It's a very big piece of code, so could take significant time to execute - especially with complex formatting and/or large strings
The default implementation uses polled serial IO - so printf does not return until the final character of the output has been send out of the UART.
" href= "http://www.8052.com/forum/read.phtml?id=138062">www.8052.com/.../read.phtml