interrupt question

Hi all,

What would happen if a pin2 interrupt occurred in the middle of a serial transmission? Would it be possible that a byte of data could get lost?

Or would the board just handle the interrupt and then continue with the transmission. no data loss.

thanks for the help


I'd say you'll recieve "junk".

Since you said in the middle, the communication woulb be ON, and read 0 or 1 for more time than it should, through all time the interuption rotine is handle, then transmmit last piece of data.

Not sure of that though...

You can try it by using a timer interruption.