Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/04/02 20:57
Read: times


 
#33779 - back to serial int processing
"So the order should be reversed. Am I right?"

I think so, but not for the reason stated - others have already explained that.

Although the Rx & Tx SBUF buffers are independent, there is still only one Rx SBUF - so as soon as a charcter arrives, you need to get it out as soon as possible to be ready for the next incoming character.
On the other hand, you have control of the Tx side - you can take your time refilling that, if you want.

Therefore, I would say that it's best to handle RI first, as that's the most urgent.
TI can wait.

List of 12 messages in thread
TopicAuthorDate
serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
RE: serial int processing            01/01/70 00:00      
back to serial int processing            01/01/70 00:00      
RE: back to serial int processing            01/01/70 00:00      
RE: back to serial int processing            01/01/70 00:00      

Back to Subject List