ESPHome
2024.12.2
|
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) |
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 129 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 131 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 132 of file ch422g.cpp.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 128 of file ch422g.cpp.
void esphome::ch422g::CH422GGPIOPin::set_flags | ( | gpio::Flags | flags | ) |
Definition at line 133 of file ch422g.cpp.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
protected |
|
protected |