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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/23/03 14:56
Read: times


 
#55231 - RE: Serial Send interrupt concept
Responding to: ???'s previous message
while(1) 
{SBUF='a';} 

You are hammering the poor sbuf so hard it will break :-)

no, serioulsy, the way to do a serial transmit is to load sbuf when TI is set, so
if (TI) sbuf = char;


Erik

List of 8 messages in thread
TopicAuthorDate
Serial Send interrupt concept            01/01/70 00:00      
   RE: Serial Send interrupt concept            01/01/70 00:00      
   RE: Serial Send interrupt concept            01/01/70 00:00      
      RE: Serial Send interrupt concept            01/01/70 00:00      
      RE: Serial Send interrupt concept            01/01/70 00:00      
   RE: Serial Send interrupt concept            01/01/70 00:00      
      RE: Serial Send interrupt concept            01/01/70 00:00      
         more serial drivers...            01/01/70 00:00      

Back to Subject List