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
Posted: Mon Dec 28, 2009 6:04 pm
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.
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