ESPHome  2024.10.2
Public Member Functions | Protected Member Functions
esphome::InternalGPIOPin Class Referenceabstract

#include <gpio.h>

Inheritance diagram for esphome::InternalGPIOPin:
esphome::GPIOPin esphome::esp32::ESP32InternalGPIOPin esphome::esp8266::ESP8266GPIOPin esphome::host::HostGPIOPin esphome::libretiny::ArduinoInternalGPIOPin esphome::rp2040::RP2040GPIOPin

Public Member Functions

template<typename T >
void attach_interrupt (void(*func)(T *), T *arg, gpio::InterruptType type) const
 
virtual void detach_interrupt () const =0
 
virtual ISRInternalGPIOPin to_isr () const =0
 
virtual uint8_t get_pin () const =0
 
bool is_internal () override
 
virtual bool is_inverted () const =0
 
- Public Member Functions inherited from esphome::GPIOPin
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
 

Protected Member Functions

virtual void attach_interrupt (void(*func)(void *), void *arg, gpio::InterruptType type) const =0
 

Detailed Description

Definition at line 79 of file gpio.h.

Member Function Documentation

◆ attach_interrupt() [1/2]

template<typename T >
void esphome::InternalGPIOPin::attach_interrupt ( void(*)(T *)  func,
T *  arg,
gpio::InterruptType  type 
) const
inline

Definition at line 81 of file gpio.h.

◆ attach_interrupt() [2/2]

virtual void esphome::InternalGPIOPin::attach_interrupt ( void(*)(void *)  func,
void *  arg,
gpio::InterruptType  type 
) const
protectedpure virtual

◆ detach_interrupt()

virtual void esphome::InternalGPIOPin::detach_interrupt ( ) const
pure virtual

◆ get_pin()

virtual uint8_t esphome::InternalGPIOPin::get_pin ( ) const
pure virtual

◆ is_internal()

bool esphome::InternalGPIOPin::is_internal ( )
inlineoverridevirtual

Reimplemented from esphome::GPIOPin.

Definition at line 91 of file gpio.h.

◆ is_inverted()

virtual bool esphome::InternalGPIOPin::is_inverted ( ) const
pure virtual

◆ to_isr()

virtual ISRInternalGPIOPin esphome::InternalGPIOPin::to_isr ( ) const
pure virtual

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