|
ESPHome 2026.3.0-dev
|
Helper class to expose a WeiKai family IO pin as an internal GPIO pin. More...
#include <weikai.h>
Public Member Functions | |
| void | set_parent (WeikaiComponent *parent) |
| void | set_pin (uint8_t pin) |
| void | set_inverted (bool inverted) |
| void | set_flags (gpio::Flags flags) |
| gpio::Flags | get_flags () const override |
| void | setup () override |
| size_t | dump_summary (char *buffer, size_t len) const override |
| void | pin_mode (gpio::Flags flags) override |
| bool | digital_read () override |
| void | digital_write (bool value) override |
Public Member Functions inherited from esphome::GPIOPin | |
Protected Attributes | |
| WeikaiComponent * | parent_ {nullptr} |
| uint8_t | pin_ |
| bool | inverted_ |
| gpio::Flags | flags_ |
Additional Inherited Members | |
Data Fields inherited from esphome::GPIOPin | |
| virtual ESPDEPRECATED("Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0.", "2026.1.0") virtual std boo | is_internal )() |
| Get a summary of this pin as a string. | |
Helper class to expose a WeiKai family IO pin as an internal GPIO pin.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
overridevirtual |
Reimplemented from esphome::GPIOPin.
Definition at line 248 of file weikai.cpp.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 240 of file weikai.cpp.
|
protected |
|
protected |