View previous topic :: View next topic |
Author |
Message |
kel
Joined: 17 Oct 2005 Posts: 68 Location: Brisbane
|
PiC16f887a internal ADC converter. |
Posted: Sat Jan 14, 2006 11:59 pm |
|
|
Hey guys. I'm a new user to ccs compiler.
I'm trying to decipher how the following functions are set up:
Code: | read_adc(), setup_adc(), setup_adc_ports() |
could some post the actual routines(codes) for the above functions for me to help me cross check the set-ips from the data sheet. |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Jan 15, 2006 12:07 am |
|
|
Quote: | read_adc(), setup_adc(), setup_adc_ports()
Could some post the actual routines(codes) for the above functions |
Make a test program with those functions and compile it.
Then look at the .LST file, which is in the project directory.
You'll see the ASM code used by the compiler for those functions. |
|
![](templates/subSilver/images/spacer.gif) |
kel
Joined: 17 Oct 2005 Posts: 68 Location: Brisbane
|
ADC CONVERTER |
Posted: Sun Jan 15, 2006 12:24 am |
|
|
Thanks alot programmer.The reason why i'm looking specifically for the above functions is to help me figure out how they are set up in C programming so that i can be able to see if i can apply the concept to other components of the PIC IC/device.
Code: | read_adc(), setup_adc(), setup_adc_ports() |
Please kindly post them...
thanks in advance..
cheers |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
![](templates/subSilver/images/spacer.gif) |
|