ESPHome  2021.11.3
Public Member Functions
esphome::GPIOPin Class Referenceabstract

#include <gpio.h>

Inheritance diagram for esphome::GPIOPin:
esphome::InternalGPIOPin esphome::mcp23016::MCP23016GPIOPin esphome::mcp23xxx_base::MCP23XXXGPIOPin esphome::pcf8574::PCF8574GPIOPin esphome::sn74hc595::SN74HC595GPIOPin esphome::sx1509::SX1509GPIOPin esphome::esp32::ArduinoInternalGPIOPin esphome::esp32::IDFInternalGPIOPin esphome::esp8266::ESP8266GPIOPin

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: