ESPHome
2024.9.0
|
Helper class to expose a CH422G pin as an internal input GPIO pin. More...
#include <ch422g.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 (CH422GComponent *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 | |
CH422GComponent * | parent_ |
uint8_t | pin_ |
bool | inverted_ |
gpio::Flags | flags_ |
Helper class to expose a CH422G pin as an internal input GPIO pin.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 116 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 118 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 119 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 115 of file ch422g.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 114 of file ch422g.cpp.
|
protected |
|
protected |