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

pullup options for PIC18F2860 [Solved]

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



Joined: 08 Aug 2012
Posts: 34

View user's profile Send private message

pullup options for PIC18F2860 [Solved]
PostPosted: Thu Sep 27, 2012 11:15 am     Reply with quote

Hello all:

I have a PIC 18F2680 and PIC18F2685 where I have to turn ON only a few of the PORTB pins, and not all.

The documentation (from the ? Button->Index page on the IDE) reads port_b_pullups(value) where "value is TRUE or FALSE on most parts, some parts that allow pullups to be specified on individual pins permit an 8 bit int here, one bit for each port pin".

So, for a PIC 18F2680 or PIC18F2685 can you confirm if I can have a bitmask to select individual pins?

-Arvind
wirelessage



Joined: 08 Aug 2012
Posts: 34

View user's profile Send private message

PostPosted: Thu Sep 27, 2012 12:20 pm     Reply with quote

Never mind. Found it in the datasheet myself!

There is only a "true" or "false" for PIC18F2680.
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