Skip to content

Main content

GPIO Open Drain Released State Tool

Compute gpio open drain released state from explicit bounded inputs.

Loading tool…

Description

Mark drivenLow when outputLow or externalLow is true.

An electrical level and a logical assertion are different concepts. Active-low signals invert that relationship, while an undriven open-drain node needs a pull-up to establish high.

Mark drivenLow when outputLow or externalLow is true.

When to use this tool

Use GPIO Open Drain Released State when you need a simple GPIO polarity or ideal state interpretation.

How to use the tool and how it works

  1. Enter outputLow, externalPullup, externalLow. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read state, drivenLow. Inspect drivenLow before interpreting the associated values.

Mark drivenLow when outputLow or externalLow is true. Otherwise return high when externalPullup is true, or floating when it is false.1

Input fieldMeaning and unitsAccepted input
outputLowOutput LowRequired. Boolean.
externalPullupExternal PullupRequired. Boolean.
externalLowExternal LowRequired. Boolean.
Output fieldInterpretationReturned shape
stateStateRequired. Text; maximum UTF-16 length 8192.
drivenLowDriven LowRequired. Boolean.
json
{
  "input": {
    "outputLow": false,
    "externalPullup": true,
    "externalLow": false
  },
  "output": {
    "state": "high",
    "drivenLow": false
  }
}

Limitations and assumptions

  • This is an ideal open-drain logic model without rise time, leakage, contention, or electrical thresholds.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Check electrical thresholds, pull resistors, timing, and the device's configured mode for the actual circuit.

References

  1. Calculation and input contract: microcontroller/gpio-open-drain-released-state — tool.io

Similar or alternative tools