ESPHome  2024.12.2
Data Structures | Namespaces | Enumerations | Functions
gpio.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::gpio::FlagsHelper
 
class  esphome::GPIOPin
 
class  esphome::ISRInternalGPIOPin
 Copy of GPIOPin that is safe to use from ISRs (with no virtual functions) More...
 
class  esphome::InternalGPIOPin
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::gpio
 

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
}
 
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)