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

how to use #separate

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







how to use #separate
PostPosted: Tue Aug 31, 2004 4:37 am     Reply with quote

hi all. I have question
1. how to use #separate
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

Using Separate
PostPosted: Tue Aug 31, 2004 6:19 am     Reply with quote

See the CCS C manual pages 53 and 54. Also search this user group on that word and you will find a lot of hits.
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

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

Re: how to use #separate
PostPosted: Tue Aug 31, 2004 7:46 am     Reply with quote

Bee wrote:
hi all. I have question
1. how to use #separate


I've found that I have to use #separate in the 16F family (e.g. 16F877), while it isn't necessary in the pin-to-pin compatible 18F442. That is what i hate about the 16Fs! Anyways, use it this way:

Code:

#separate
void my_fxn(void);  // function prototype
...

#separate
void my_fxn(void)
{
    ... body of the function
}
Bee
Guest







PostPosted: Wed Sep 01, 2004 12:02 am     Reply with quote

thank you for suggestion Very Happy
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