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 support@ccsinfo.com

question on setup_adc_ports()

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



Joined: 08 May 2008
Posts: 9

View user's profile Send private message

question on setup_adc_ports()
PostPosted: Thu Jun 25, 2009 12:46 am     Reply with quote

The combinations offered by the setup_adc_ports() do not attend my requirement.

I need to setup the AN7 on the RE3 port plus the AN0 on the RA0 port of a 16f877a, but the options available on the mentioned instruction do not cover this combination.

Is there another way to setup the ADC ports than the setup_adc_ports() ????

thanks in advance

juanjose
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 25, 2009 1:43 am     Reply with quote

Quote:

but the options available on the mentioned instruction do not cover this combination.

You can't do it with the 16F877A. Read these threads:
http://www.ccsinfo.com/forum/viewtopic.php?t=37899
http://www.ccsinfo.com/forum/viewtopic.php?t=38361
juanjose



Joined: 08 May 2008
Posts: 9

View user's profile Send private message

PostPosted: Thu Jun 25, 2009 9:40 am     Reply with quote

Hi PCM programmer

I did not realize it was a chip design limitation.

As I want to use some 16f877A leftovers, I will swap the connections between RE3 and RA1 or RA2.

Thanks a lot for the fast and objective answer.

juanjose
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