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

Peripheral Pin Select

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



Joined: 29 Sep 2006
Posts: 120

View user's profile Send private message

Peripheral Pin Select
PostPosted: Mon Jun 30, 2014 2:37 pm     Reply with quote

Hi,

Maybe it's late, but I don't get it. One can assign all kinds of IO to
"RPn or RPIn" by like 40+ registers on a Pic24FJ128GC010. Clear.

But ?? how does the RPn or RPIn relate to the actual pins on my pin diagram? They are called in the good old format RA0 up to whatever.

I'm flabbergasted. There must be a simple answer.

Has anyone also a simple code example?

Regards,
Edwin.
_________________
Regards, Edwin. PCWHD v5.114
Ttelmah



Joined: 11 Mar 2010
Posts: 19482

View user's profile Send private message

PostPosted: Mon Jun 30, 2014 2:41 pm     Reply with quote

A search here would have found some examples.

You don't use the the RP names at all.
In CCS, you use the function name, and the pin name.

Look at ex_pinselect.c, and ex_pinselect2.c
Torello



Joined: 29 Sep 2006
Posts: 120

View user's profile Send private message

PostPosted: Mon Jun 30, 2014 2:43 pm     Reply with quote

Yep... the COMPLETE pin function descriptions. Not listed in the bookmarks and not linked or mentioned in the PPS section. Thank you Microchip

Still, if anyone has an example for me... Very Happy
_________________
Regards, Edwin. PCWHD v5.114
Torello



Joined: 29 Sep 2006
Posts: 120

View user's profile Send private message

PostPosted: Mon Jun 30, 2014 2:48 pm     Reply with quote

Thanks Ttelmah, I'll take a look on mentioned examples.
Btw. I did do several searches on "Peripheral Pin Select". Did not found the obvious you did.
_________________
Regards, Edwin. PCWHD v5.114
Ttelmah



Joined: 11 Mar 2010
Posts: 19482

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 1:03 am     Reply with quote

If you'd searched on the CCS function name (PIN_SELECT), you'd find lots of threads with the function being used.
Sometimes it is the obvious. Smile

The #PIN_SELECT entry in the manual, also lists most of the function names used.

The problem was trying to be a bit too specific, and including 'peripheral' in the search....
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