Hi friends,
I am using timer 0 & timer 2 interrupts for functionality and printf functions also am using to display the status .... (for printf statement Timer 1 using)some times that printf function skipped....but the fuctionality working fine.... why this is happening???? plz help me...
No, it doesn't:
With interrupt-driven serial comms, all one normally does in the ISR is to load and/or unload the SBUF (or equivalent) - the actual slow IO is handled by the hardware between interrupts.
But I take your point about sweeping generalisations.
Yes, I do realise that. I guess you really meant to say that slow IO (eg. RS232) shouldn't be done from an interrupt but fast IO (eg. RS232) is ok?