Skip to content

Main content

GPIO Pullup Leakage Static Gap Tool

Calculate gpio pullup leakage static gap from explicit caller-supplied inputs.

Loading tool…

Description

Multiply nonnegative leakage by positive resistance for drop and subtract it from nonnegative supply for voltage.

A resistive voltage drop follows current times resistance in a simple static model. Device leakage, input thresholds, and transient behavior can make a real circuit more complex.

Multiply nonnegative leakage by positive resistance for drop and subtract it from nonnegative supply for voltage.

When to use this tool

Use GPIO Pullup Leakage Static Gap when you need a supplied static current-resistance voltage term.

How to use the tool and how it works

  1. Enter supply, leakage, resistance. 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 voltage, drop. Use the output convention below.

Multiply nonnegative leakage by positive resistance for drop and subtract it from nonnegative supply for voltage.1

Input fieldMeaning and unitsAccepted input
supplySupplyRequired. Finite number; minimum 0.
leakageLeakageRequired. Finite number; minimum 0.
resistanceResistance in ohms for a coherent SI electrical calculation.Required. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
voltageVoltageRequired. Finite number.
dropDropRequired. Finite number.
json
{
  "input": {
    "supply": 3.3,
    "leakage": 0.00001,
    "resistance": 10000
  },
  "output": {
    "voltage": 3.1999999999999997,
    "drop": 0.1
  }
}

Limitations and assumptions

  • Use amperes, ohms, and volts consistently; negative computed voltage is not clamped and nonlinear leakage or input thresholds are omitted.
  • 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.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use worst-case device specifications and a circuit model that includes nonlinear and transient behavior.

References

  1. Calculation and input contract: microcontroller/gpio-pullup-leakage-static-gap — tool.io

Similar or alternative tools