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

Built-in Functions, code location?

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



Joined: 09 Jul 2004
Posts: 70

View user's profile Send private message

Built-in Functions, code location?
PostPosted: Mon Dec 28, 2009 5:47 pm     Reply with quote

I am wondering if it is possible to get the code for the built-in functions? Is this located some where within my directory that I can look at? I am mostly interested in I2C_read() and I2C_write(). Or are these totally transparent?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 28, 2009 6:04 pm     Reply with quote

There's no C source code for those CCS functions, but you can see the
ASM code in the .LST file. See this thread which shows how to make a
test program to do this:
http://www.ccsinfo.com/forum/viewtopic.php?t=30080
It would be easier to understand if you set the List File to use Symbolic
format. In MPLAB this is done in the Project / Build Options menu.
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