ESPHome  2024.12.2
Public Member Functions | Protected Attributes
esphome::sx1509::SX1509GPIOPin Class Reference

#include <sx1509_gpio_pin.h>

Inheritance diagram for esphome::sx1509::SX1509GPIOPin:
esphome::GPIOPin

Public Member Functions

void setup () override
 
void pin_mode (gpio::Flags flags) override
 
bool digital_read () override
 
void digital_write (bool value) override
 
std::string dump_summary () const override
 
void set_parent (SX1509Component *parent)
 
void set_pin (uint8_t pin)
 
void set_inverted (bool inverted)
 
void set_flags (gpio::Flags flags)
 
- Public Member Functions inherited from esphome::GPIOPin
virtual bool is_internal ()
 

Protected Attributes

SX1509Componentparent_
 
uint8_t pin_
 
bool inverted_
 
gpio::Flags flags_
 

Detailed Description

Definition at line 10 of file sx1509_gpio_pin.h.

Member Function Documentation

◆ digital_read()

bool esphome::sx1509::SX1509GPIOPin::digital_read ( )
overridevirtual

Implements esphome::GPIOPin.

Definition at line 13 of file sx1509_gpio_pin.cpp.

◆ digital_write()

void esphome::sx1509::SX1509GPIOPin::digital_write ( bool  value)
overridevirtual

Implements esphome::GPIOPin.

Definition at line 14 of file sx1509_gpio_pin.cpp.

◆ dump_summary()

std::string esphome::sx1509::SX1509GPIOPin::dump_summary ( ) const
overridevirtual

Implements esphome::GPIOPin.

Definition at line 15 of file sx1509_gpio_pin.cpp.

◆ pin_mode()

void esphome::sx1509::SX1509GPIOPin::pin_mode ( gpio::Flags  flags)
overridevirtual

Implements esphome::GPIOPin.

Definition at line 12 of file sx1509_gpio_pin.cpp.

◆ set_flags()

void esphome::sx1509::SX1509GPIOPin::set_flags ( gpio::Flags  flags)
inline

Definition at line 21 of file sx1509_gpio_pin.h.

◆ set_inverted()

void esphome::sx1509::SX1509GPIOPin::set_inverted ( bool  inverted)
inline

Definition at line 20 of file sx1509_gpio_pin.h.

◆ set_parent()

void esphome::sx1509::SX1509GPIOPin::set_parent ( SX1509Component parent)
inline

Definition at line 18 of file sx1509_gpio_pin.h.

◆ set_pin()

void esphome::sx1509::SX1509GPIOPin::set_pin ( uint8_t  pin)
inline

Definition at line 19 of file sx1509_gpio_pin.h.

◆ setup()

void esphome::sx1509::SX1509GPIOPin::setup ( )
overridevirtual

Implements esphome::GPIOPin.

Definition at line 11 of file sx1509_gpio_pin.cpp.

Field Documentation

◆ flags_

gpio::Flags esphome::sx1509::SX1509GPIOPin::flags_
protected

Definition at line 27 of file sx1509_gpio_pin.h.

◆ inverted_

bool esphome::sx1509::SX1509GPIOPin::inverted_
protected

Definition at line 26 of file sx1509_gpio_pin.h.

◆ parent_

SX1509Component* esphome::sx1509::SX1509GPIOPin::parent_
protected

Definition at line 24 of file sx1509_gpio_pin.h.

◆ pin_

uint8_t esphome::sx1509::SX1509GPIOPin::pin_
protected

Definition at line 25 of file sx1509_gpio_pin.h.


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