ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::xl9535::XL9535GPIOPin Class Reference

#include <xl9535.h>

Inheritance diagram for esphome::xl9535::XL9535GPIOPin:
esphome::GPIOPin

Public Member Functions

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

Protected Attributes

XL9535Componentparent_
 
uint8_t pin_
 
bool inverted_
 
gpio::Flags flags_
 

Detailed Description

Definition at line 32 of file xl9535.h.

Member Function Documentation

◆ digital_read()

bool esphome::xl9535::XL9535GPIOPin::digital_read ( )
overridevirtual

Implements esphome::GPIOPin.

Definition at line 118 of file xl9535.cpp.

◆ digital_write()

void esphome::xl9535::XL9535GPIOPin::digital_write ( bool  value)
overridevirtual

Implements esphome::GPIOPin.

Definition at line 119 of file xl9535.cpp.

◆ dump_summary()

std::string esphome::xl9535::XL9535GPIOPin::dump_summary ( ) const
overridevirtual

Implements esphome::GPIOPin.

Definition at line 115 of file xl9535.cpp.

◆ pin_mode()

void esphome::xl9535::XL9535GPIOPin::pin_mode ( gpio::Flags  flags)
overridevirtual

Implements esphome::GPIOPin.

Definition at line 117 of file xl9535.cpp.

◆ set_flags()

void esphome::xl9535::XL9535GPIOPin::set_flags ( gpio::Flags  flags)
inline

Definition at line 37 of file xl9535.h.

◆ set_inverted()

void esphome::xl9535::XL9535GPIOPin::set_inverted ( bool  inverted)
inline

Definition at line 36 of file xl9535.h.

◆ set_parent()

void esphome::xl9535::XL9535GPIOPin::set_parent ( XL9535Component parent)
inline

Definition at line 34 of file xl9535.h.

◆ set_pin()

void esphome::xl9535::XL9535GPIOPin::set_pin ( uint8_t  pin)
inline

Definition at line 35 of file xl9535.h.

◆ setup()

void esphome::xl9535::XL9535GPIOPin::setup ( )
overridevirtual

Implements esphome::GPIOPin.

Definition at line 113 of file xl9535.cpp.

Field Documentation

◆ flags_

gpio::Flags esphome::xl9535::XL9535GPIOPin::flags_
protected

Definition at line 50 of file xl9535.h.

◆ inverted_

bool esphome::xl9535::XL9535GPIOPin::inverted_
protected

Definition at line 49 of file xl9535.h.

◆ parent_

XL9535Component* esphome::xl9535::XL9535GPIOPin::parent_
protected

Definition at line 46 of file xl9535.h.

◆ pin_

uint8_t esphome::xl9535::XL9535GPIOPin::pin_
protected

Definition at line 48 of file xl9535.h.


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