ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::pca9505::PCA9505GPIOPin Class Referencefinal

#include <pca9505.h>

Inheritance diagram for esphome::pca9505::PCA9505GPIOPin:
esphome::GPIOPin esphome::Parented< PCA9505Component >

Public Member Functions

void setup () override
 
void pin_mode (gpio::Flags flags) override
 
bool digital_read () override
 
void digital_write (bool value) override
 
size_t dump_summary (char *buffer, size_t len) const override
 
void set_pin (uint8_t pin)
 
void set_inverted (bool inverted)
 
void set_flags (gpio::Flags flags)
 
gpio::Flags get_flags () const override
 
- Public Member Functions inherited from esphome::GPIOPin
virtual bool is_internal ()
 Only the platform pin class behind the InternalGPIOPin alias may return true: callers static_cast to InternalGPIOPin on it.
 
bool get_hold () const
 
virtual bool is_held () const
 
bool get_hold () const
 
bool is_held () const
 
- Public Member Functions inherited from esphome::Parented< PCA9505Component >
 Parented ()
 
 Parented (PCA9505Component *parent)
 
PCA9505Component * get_parent () const
 Get the parent of this object.
 
void set_parent (PCA9505Component *parent)
 Set the parent of this object.
 

Protected Attributes

uint8_t pin_ {0}
 
bool inverted_ {false}
 
gpio::Flags flags_ {}
 
- Protected Attributes inherited from esphome::Parented< PCA9505Component >
PCA9505Component * parent_
 

Detailed Description

Definition at line 52 of file pca9505.h.

Member Function Documentation

◆ digital_read()

bool esphome::pca9505::PCA9505GPIOPin::digital_read ( )
overridevirtual

Implements esphome::GPIOPin.

Definition at line 154 of file pca9505.cpp.

◆ digital_write()

void esphome::pca9505::PCA9505GPIOPin::digital_write ( bool value)
overridevirtual

Implements esphome::GPIOPin.

Definition at line 156 of file pca9505.cpp.

◆ dump_summary()

size_t esphome::pca9505::PCA9505GPIOPin::dump_summary ( char * buffer,
size_t len ) const
overridevirtual

Reimplemented from esphome::GPIOPin.

Definition at line 158 of file pca9505.cpp.

◆ get_flags()

gpio::Flags esphome::pca9505::PCA9505GPIOPin::get_flags ( ) const
inlineoverridevirtual

Implements esphome::GPIOPin.

Definition at line 64 of file pca9505.h.

◆ pin_mode()

void esphome::pca9505::PCA9505GPIOPin::pin_mode ( gpio::Flags flags)
overridevirtual

Implements esphome::GPIOPin.

Definition at line 152 of file pca9505.cpp.

◆ set_flags()

void esphome::pca9505::PCA9505GPIOPin::set_flags ( gpio::Flags flags)
inline

Definition at line 62 of file pca9505.h.

◆ set_inverted()

void esphome::pca9505::PCA9505GPIOPin::set_inverted ( bool inverted)
inline

Definition at line 61 of file pca9505.h.

◆ set_pin()

void esphome::pca9505::PCA9505GPIOPin::set_pin ( uint8_t pin)
inline

Definition at line 60 of file pca9505.h.

◆ setup()

void esphome::pca9505::PCA9505GPIOPin::setup ( )
overridevirtual

Implements esphome::GPIOPin.

Definition at line 150 of file pca9505.cpp.

Field Documentation

◆ flags_

gpio::Flags esphome::pca9505::PCA9505GPIOPin::flags_ {}
protected

Definition at line 69 of file pca9505.h.

◆ inverted_

bool esphome::pca9505::PCA9505GPIOPin::inverted_ {false}
protected

Definition at line 68 of file pca9505.h.

◆ pin_

uint8_t esphome::pca9505::PCA9505GPIOPin::pin_ {0}
protected

Definition at line 67 of file pca9505.h.


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