WPU - Input - Output pin triangle


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Question WPU - Input - Output pin triangle

    I have been searching the forum for WPU configurations and how it works.

    There is one thing that makes it difficult to understand for me at least.

    When WPU is active, all pins on PortB are pulled internally high.

    The datasheet says that "WPU is automatically turned OFF when the port pin is configured as an Output". Does this mean, as it says "pin", WPU is turned OFF only for that individual pin?

    Or it is turned OFF for all PortB pins and needs to be turned ON again for the next cycle?


    ---------------------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    As far as i know, only the pin is affected, not the whole PORT.

    But there's probably some exception to the rule... i can't say, i never trust the internal pull-up for a final project, only for testing if i'm too lazy to place few resistor on a board
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  2. Timing input pulses and re-outputting them
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th February 2007, 01:50
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

Members who have read this thread : 1

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