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

please explain about this line in ex_pbusm.c

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







please explain about this line in ex_pbusm.c
PostPosted: Fri Jul 16, 2004 1:54 pm     Reply with quote

in line 67
this program declare #bit intf=11.1 <----"Why it =11.1 "
and #bit ninth_bit = RS232_ERRORS.7 <----"if i know correct. if ninth_bit=1 when receive 9 bit and when ninth_bit=0 it receive not 9 bit .
Please reply and sorry for my english
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Jul 16, 2004 2:10 pm     Reply with quote

Bit "intf" is the first bit in the 11th register, hence 11.1.

"Ninth_bit" is the 7th bit in the register named RS232_ERRORS where RS232_ERRORS is probably defined in the chip's header file.

I am not sure that answers your questions.
_________________
The search for better is endless. Instead simply find very good and get the job done.
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