test whether pin is in pushpull or opendrain mode

Thread Starter

ray_p

Joined Feb 7, 2011
2
Hello,

Could you please suggest some ways in which i can test whether a pin is in opendrain or pushpull mode without disabling pullups.
 

SgtWookie

Joined Jul 17, 2007
22,230
Try temporarily adding a pull-down resistor the same value of the pull-up resistor, and disconnect the load.

If the output is then limited to Vcc/2 to GND or Vcc/2 to Vcc, then you'll know.
 
Top