ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
esphome::ResetPulse Struct Reference

Waveform for pulse_reset(): high, low, then high again. More...

#include <gpio_pin.h>

Data Fields

uint32_t high_before_ms {0}
 Drive high this long first; skipped when 0.
 
uint32_t low_ms {0}
 Hold the pin low (in reset) this long.
 
uint32_t high_after_ms {0}
 Wait this long after releasing the pin.
 

Detailed Description

Waveform for pulse_reset(): high, low, then high again.

Name the fields at the call site, e.g. pulse_reset(this->reset_pin_, {.high_before_ms = 1, .low_ms = 10}).

Definition at line 149 of file gpio_pin.h.

Field Documentation

◆ high_after_ms

uint32_t esphome::ResetPulse::high_after_ms {0}

Wait this long after releasing the pin.

Definition at line 152 of file gpio_pin.h.

◆ high_before_ms

uint32_t esphome::ResetPulse::high_before_ms {0}

Drive high this long first; skipped when 0.

Definition at line 150 of file gpio_pin.h.

◆ low_ms

uint32_t esphome::ResetPulse::low_ms {0}

Hold the pin low (in reset) this long.

Definition at line 151 of file gpio_pin.h.


The documentation for this struct was generated from the following file: