ESPHome  2024.9.2
Public Member Functions
esphome::GPIOPin Class Referenceabstract

#include <gpio.h>

Inheritance diagram for esphome::GPIOPin:
esphome::ch422g::CH422GGPIOPin esphome::InternalGPIOPin 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::weikai::WeikaiGPIOPin esphome::xl9535::XL9535GPIOPin

Public Member Functions

virtual void setup ()=0
 
virtual void pin_mode (gpio::Flags flags)=0
 
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()

virtual bool esphome::GPIOPin::digital_read ( )
pure virtual

◆ digital_write()

virtual void esphome::GPIOPin::digital_write ( bool  value)
pure virtual

◆ dump_summary()

virtual std::string esphome::GPIOPin::dump_summary ( ) const
pure virtual

◆ is_internal()

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

Reimplemented in esphome::InternalGPIOPin.

Definition at line 62 of file gpio.h.

◆ pin_mode()

virtual void esphome::GPIOPin::pin_mode ( gpio::Flags  flags)
pure virtual

◆ setup()

virtual void esphome::GPIOPin::setup ( )
pure virtual

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