Weak pullup on 18f2620


Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Jun 2016
    Posts
    60

    Default Weak pullup on 18f2620


    Each of the PORTB pins has a weak internal pull-up. A single control bit can turn on all the pull-ups. This is performed by clearing bit, RBPU (INTCON2<7>). The weak pull-up is automatically turned off when the port pin is configured as an output. The pull-ups are disabled on a Power-on Reset.
    The above is taken from the datasheet. Since I NEED to set portB.5 as an output and leave all the remaining 7 pins as input (trisB = %11011111). Can I use the weak pullup? Or it will disabled ?

    How should I read the above note: a single pin set as output will turn the weak pullup off?

    What does mean "The pull-ups are disabled on a Power-on Reset" ?


    Thank you for any clearification.

    Alberto
    Last edited by Alberto; - 12th October 2016 at 18:41.

Similar Threads

  1. Pullup confusion 12c508a
    By Michael in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 10th September 2016, 18:52
  2. neebee wants to know pullup or pulldown?
    By lecoind in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 24th May 2009, 03:36
  3. pullup and pulldown resistor help
    By studysession in forum General
    Replies: 5
    Last Post: - 29th January 2009, 02:46
  4. switch on 1 weak pullup on portb?
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th December 2008, 18:32
  5. button pullup/down resistor?
    By davewanna in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 19th June 2008, 05:13

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts