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

PIC16F88 - Internal Pull-Ups

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



Joined: 22 Dec 2003
Posts: 82

View user's profile Send private message

PIC16F88 - Internal Pull-Ups
PostPosted: Mon Jan 17, 2005 6:17 am     Reply with quote

Can someone please tell me what is the exact syntax to activate the internal Pull-Ups in the 16F88?
Does it automatic for all the pins or dedicated for each one?

edi
Ttelmah
Guest







PostPosted: Mon Jan 17, 2005 6:59 am     Reply with quote

PORT_B_PULLUPS(TRUE);

Read the data sheet for the chip. This chip only supports 'whole port' enabling. On chips that allow individual bits, the 'TRUE' value, can be replaced with the pattern of bits required to be enabled, but the F88, does not support this.

Best Wishes
edi



Joined: 22 Dec 2003
Posts: 82

View user's profile Send private message

PostPosted: Mon Jan 17, 2005 7:11 am     Reply with quote

Tnx,

I though it's for all the pins but wasn't sure...
Thanks any way.

edi
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