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 ?
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.
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
Bookmarks