gnupic@linuxhacker.org
gnupic@linuxhacker.org
on 1/1/03 11:24 PM, Snail Instruments at snail@iol.cz wrote:
> Just curious - what do you call 'synchronous code'?
I guess you could say it polls. The code loads TXREG, then sits in a loop
waiting for the txmt flag to be set, then loads TXREG with the second byte
to send.
By contrast, async code would load TXREG, then go off an do something else,
waiting for the txmt interrupt to occur.
--
Rick
gnupic@linuxhacker.org