CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

software rs232 and error

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
micro2
Guest







software rs232 and error
PostPosted: Sun Feb 12, 2006 5:45 am     Reply with quote

how can I check in rs232 software (non UART) the parameter "ERROR"?

Thanks
Ttelmah
Guest







PostPosted: Sun Feb 12, 2006 5:57 am     Reply with quote

The compiler generates a variable, called 'RS232_ERRORS'. In software mode, only two bits of this actually 'means' anything. Bit 7, is the 9th data bit for 9 bit I/O, and bit 6, reflects if the bus was idle, when using the 'float high mode, and a transmission was attempted. No other 'error' conditions are generated by the soft UART (no parity or framing errors).

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group