Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
Using Separate
Posted: Tue Aug 31, 2004 6:19 am
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
Re: how to use #separate
Posted: Tue Aug 31, 2004 7:46 am
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
}
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