ESPHome
2024.10.2
|
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) |
void | setup () override |
std::string | dump_summary () 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 | |
virtual bool | is_internal () |
Protected Attributes | |
WeikaiComponent * | parent_ {nullptr} |
uint8_t | pin_ |
bool | inverted_ |
gpio::Flags | flags_ |
Helper class to expose a WeiKai family IO pin as an internal GPIO pin.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 300 of file weikai.cpp.
|
inlineoverridevirtual |
Implements esphome::GPIOPin.
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Implements esphome::GPIOPin.
Definition at line 291 of file weikai.cpp.
|
protected |
|
protected |