ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::GPIOPin Class Referenceabstract

#include <gpio.h>

Inheritance diagram for esphome::GPIOPin:
esphome::InternalGPIOPin esphome::ch422g::CH422GGPIOPin esphome::max6956::MAX6956GPIOPin esphome::mcp23016::MCP23016GPIOPin esphome::mcp23xxx_base::MCP23XXXGPIOPin esphome::mpr121::MPR121GPIOPin esphome::pca6416a::PCA6416AGPIOPin esphome::pca9554::PCA9554GPIOPin esphome::pcf8574::PCF8574GPIOPin esphome::sn74hc165::SN74HC165GPIOPin esphome::sn74hc595::SN74HC595GPIOPin esphome::spi::NullPin esphome::sx1509::SX1509GPIOPin esphome::tca9555::TCA9555GPIOPin esphome::weikai::WeikaiGPIOPin esphome::xl9535::XL9535GPIOPin

Public Member Functions

virtual void setup ()=0
 
virtual void pin_mode (gpio::Flags flags)=0
 
virtual gpio::Flags get_flags () const =0
 Retrieve GPIO pin flags.
 
virtual bool digital_read ()=0
 
virtual void digital_write (bool value)=0
 
virtual std::string dump_summary () const =0
 
virtual bool is_internal ()
 

Detailed Description

Definition at line 50 of file gpio.h.

Member Function Documentation

◆ digital_read()

◆ digital_write()

◆ dump_summary()

◆ get_flags()

◆ is_internal()

virtual bool esphome::GPIOPin::is_internal ( )
inlinevirtual

Reimplemented in esphome::InternalGPIOPin.

Definition at line 69 of file gpio.h.

◆ pin_mode()

◆ setup()


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