ESPHome
2022.6.3
|
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_parent (SN74HC595Component *parent) |
void | set_pin (uint8_t pin) |
void | set_inverted (bool inverted) |
![]() | |
virtual bool | is_internal () |
Protected Attributes | |
SN74HC595Component * | parent_ |
uint8_t | pin_ |
bool | inverted_ |
Helper class to expose a SC74HC595 pin as an internal output GPIO pin.
Definition at line 42 of file sn74hc595.h.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
Definition at line 46 of file sn74hc595.h.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 65 of file sn74hc595.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 68 of file sn74hc595.cpp.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
Definition at line 45 of file sn74hc595.h.
|
inline |
Definition at line 52 of file sn74hc595.h.
|
inline |
Definition at line 50 of file sn74hc595.h.
|
inline |
Definition at line 51 of file sn74hc595.h.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
Definition at line 44 of file sn74hc595.h.
|
protected |
Definition at line 57 of file sn74hc595.h.
|
protected |
Definition at line 55 of file sn74hc595.h.
|
protected |
Definition at line 56 of file sn74hc595.h.