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 support@ccsinfo.com

long_data

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



Joined: 28 May 2005
Posts: 14

View user's profile Send private message

long_data
PostPosted: Sat May 28, 2005 4:47 am     Reply with quote

#useRS232(....long_data...) valid for software ,hardware or both of UART ?

regards

Jan
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Sat May 28, 2005 6:38 am     Reply with quote

It is valid for both the hardware AND software UART. Using the specified pins the compiler will know if it has to use the inbuilt hardware UART or create a software equivalent.

Please note that there are some differences between the hardware and software UART. The most important differences are that the software UART won't generate interrupts and with the hardware UART you can't use the INVERT option.
If you want to use a software UART on pins assigned to a hardware UART then add the force_sw option.
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