test whether pin is in pushpull or opendrain mode

Discussion in 'General Electronics Chat' started by ray_p, Mar 15, 2011.

  1. ray_p

    Thread Starter New Member

    Feb 7, 2011
    2
    0
    Hello,

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

    Expert

    Jul 17, 2007
    22,182
    1,728
    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.
     
    ray_p likes this.
Loading...