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

Error on RS232 Comunication

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



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

Error on RS232 Comunication
PostPosted: Wed Nov 09, 2005 5:01 am     Reply with quote

Hi everybody,

In my application RS232 stop to receve.

Does the C compiler test for error in comunication, ans solve it, or I have to do that by testing bit of comunication register or other way ?

Thanks,
Ttelmah
Guest







PostPosted: Wed Nov 09, 2005 5:10 am     Reply with quote

This is controlled by the 'ERRORS' command in the #use RS232 definition. If this is not present, the compiler leaves it up to _you_ to handle errors. If this is present, the compiler adds code to every 'getc', to check for error conditions, and clear them if present.

Best Wishes
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Wed Nov 09, 2005 6:34 am     Reply with quote

Hi,

I never seen it !

Thanks for help.
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