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

USART & High BRG Bit

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



Joined: 18 Oct 2004
Posts: 7

View user's profile Send private message

USART & High BRG Bit
PostPosted: Mon Oct 18, 2004 5:09 am     Reply with quote

I cannot get the CCS compiler to set the USART BRG 'HIGH' bit.
Is there a flag I need to use ?
Thanks
_________________
Steve
ppa



Joined: 24 Sep 2004
Posts: 2

View user's profile Send private message

PostPosted: Mon Oct 18, 2004 5:35 am     Reply with quote

Hi Steve,

Have you tried the following ?:

#bit BRGH=0x98.2
BRGH=1


Paresh
steve.booth



Joined: 18 Oct 2004
Posts: 7

View user's profile Send private message

PostPosted: Mon Oct 18, 2004 5:40 am     Reply with quote

Paresh,

Yes I have tried that, and it works OK, bit it seemed rather crude having to set that specifically.

Thanks anyway,

Steve
_________________
Steve
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Oct 18, 2004 6:42 am     Reply with quote

Are you using #use RS232? There is a flag for it. I think it only uses it if need be though.
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