|
ESPHome 2025.12.0-dev
|
Helper class to expose a CH422G pin as a 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) |
| gpio::Flags | get_flags () const override |
Public Member Functions inherited from esphome::GPIOPin | |
| virtual bool | is_internal () |
Protected Attributes | |
| CH422GComponent * | parent_ {} |
| uint8_t | pin_ {} |
| bool | inverted_ {} |
| gpio::Flags | flags_ {} |
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 128 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 130 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 131 of file ch422g.cpp.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 127 of file ch422g.cpp.
| void esphome::ch422g::CH422GGPIOPin::set_flags | ( | gpio::Flags | flags | ) |
Definition at line 132 of file ch422g.cpp.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
protected |
|
protected |