??? 05/24/06 19:04 Read: times |
#117049 - disable weak pull-up for P0.7 only??? Responding to: ???'s previous message |
Erik Malund said:
I
"Configuring a Port pin as an analog input: 1. Disables the digital input path from the pin. This prevents additional power supply current from being drawn when the voltage at the pin is near VDD / 2. A read of the Port Data bit will return a logic 0 regardless of the voltage at the Port pin. 2. Disables the weak pullup device on the pin. In the C8051F31xRev1_6.pdf document SFR Definition 13.2. XBR1: Port I/O Crossbar Register 1 has following information: Bit7: WEAKPUD: Port I/O Weak Pullup Disable. 0: Weak Pullups enabled (except for Ports whose I/O are configured as analog input). 1: Weak Pullups disabled. hence by making WEAKPUD in XBR1 register as '0' we can enable weak pullups.I do not understand how to disable weak pull-up for an individual pin (P0.7)? |
Topic | Author | Date |
configuring quasi-bidirectional | 01/01/70 00:00 | |
Disable Weak Pull-Up | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
and see the chip go POOF | 01/01/70 00:00 | |
configuration got the usual treatment | 01/01/70 00:00 | |
confusion | 01/01/70 00:00 | |
neither | 01/01/70 00:00 | |
So it is Enable Weak pull-up and open dr | 01/01/70 00:00 | |
Configuration | 01/01/70 00:00 | |
you got it ! | 01/01/70 00:00 | |
c8051f310R | 01/01/70 00:00 | |
SILabs analog inouts | 01/01/70 00:00 | |
disable weak pull-up for P0.7 only??? | 01/01/70 00:00 | |
simply specify it analog | 01/01/70 00:00 | |
Specify as analog and P0SKIP![]() | 01/01/70 00:00 |