|
ESPHome 2026.12.0-dev
|
Go to the source code of this file.
Data Structures | |
| class | esphome::gpio::FlagsHelper |
| class | esphome::GPIOPin |
| class | esphome::ISRInternalGPIOPin |
| ISR-safe handle to an internal pin (no virtual calls); every handle points at the pin itself and shares its state. More... | |
| struct | esphome::ResetPulse |
| Waveform for pulse_reset(): high, low, then high again. More... | |
Namespaces | |
| namespace | esphome |
| namespace | esphome::gpio |
| namespace | esphome::esp32 |
| namespace | esphome::esp8266 |
| namespace | esphome::libretiny |
| namespace | esphome::rp2 |
| namespace | esphome::host |
| namespace | esphome::zephyr |
| namespace | esphome::internal |
| RP2040 wakeable delay uses file-scope state (alarm callback + flag) — defined in wake_rp2.cpp. | |
Concepts | |
| concept | esphome::InternalGPIOPinContract |
Enumerations | |
| enum | esphome::gpio::Flags : uint8_t { esphome::gpio::FLAG_NONE = 0x00 , esphome::gpio::FLAG_INPUT = 0x01 , esphome::gpio::FLAG_OUTPUT = 0x02 , esphome::gpio::FLAG_OPEN_DRAIN = 0x04 , esphome::gpio::FLAG_PULLUP = 0x08 , esphome::gpio::FLAG_PULLDOWN = 0x10 , esphome::gpio::FLAG_HOLD = 0x20 } |
| enum | esphome::gpio::InterruptType : uint8_t { esphome::gpio::INTERRUPT_RISING_EDGE = 1 , esphome::gpio::INTERRUPT_FALLING_EDGE = 2 , esphome::gpio::INTERRUPT_ANY_EDGE = 3 , esphome::gpio::INTERRUPT_LOW_LEVEL = 4 , esphome::gpio::INTERRUPT_HIGH_LEVEL = 5 } |
Functions | |
| constexpr FlagsHelper | esphome::gpio::operator& (Flags lhs, Flags rhs) |
| constexpr FlagsHelper | esphome::gpio::operator| (Flags lhs, Flags rhs) |
| void | esphome::log_pin_with_prefix (const char *tag, const char *prefix, GPIOPin *pin) |
| void | esphome::log_pin (const char *tag, const __FlashStringHelper *prefix, GPIOPin *pin) |
| void | esphome::log_pin (const char *tag, const char *prefix, GPIOPin *pin) |
| void | esphome::pulse_pin (GPIOPin *pin, bool level, uint32_t width_us=0) |
Drive pin to level for width_us microseconds, then to the opposite level. | |
| void | esphome::internal::pulse_reset_ms (GPIOPin *pin, uint32_t high_before_ms, uint32_t low_ms, uint32_t high_after_ms) |
| Out-of-line body of pulse_reset(); call that instead. | |
| ESPHOME_ALWAYS_INLINE void | esphome::pulse_reset (GPIOPin *pin, ResetPulse pulse) |
Set up an active-low reset pin and drive it through pulse. | |
| void | esphome::setup_output_pin (GPIOPin *pin, bool level) |
Set up pin and drive it to level. Does nothing when pin is null, so an optional pin needs no check. | |
Variables | |
| constexpr size_t | esphome::GPIO_SUMMARY_MAX_LEN = 48 |
| Maximum buffer size for dump_summary output. | |