ESPHome
2023.3.1
|
Helper class to expose a SC74HC595 pin as an internal output GPIO pin. More...
#include <sn74hc595.h>
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_pin (uint16_t pin) |
void | set_inverted (bool inverted) |
![]() | |
virtual bool | is_internal () |
![]() | |
Parented () | |
Parented (SN74HC595Component *parent) | |
SN74HC595Component * | get_parent () const |
Get the parent of this object. More... | |
void | set_parent (SN74HC595Component *parent) |
Set the parent of this object. More... | |
Protected Attributes | |
uint16_t | pin_ |
bool | inverted_ |
![]() | |
SN74HC595Component * | parent_ |
Helper class to expose a SC74HC595 pin as an internal output GPIO pin.
Definition at line 47 of file sn74hc595.h.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
Definition at line 51 of file sn74hc595.h.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 60 of file sn74hc595.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 63 of file sn74hc595.cpp.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
Definition at line 50 of file sn74hc595.h.
|
inline |
Definition at line 56 of file sn74hc595.h.
|
inline |
Definition at line 55 of file sn74hc595.h.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
Definition at line 49 of file sn74hc595.h.
|
protected |
Definition at line 60 of file sn74hc595.h.
|
protected |
Definition at line 59 of file sn74hc595.h.