ESPHome
2024.11.1
|
A class to cache the read state of a GPIO expander. More...
#include <cached_gpio.h>
Public Member Functions | |
bool | digital_read (T pin) |
void | digital_write (T pin, bool value) |
Protected Member Functions | |
virtual bool | digital_read_hw (T pin)=0 |
virtual bool | digital_read_cache (T pin)=0 |
virtual void | digital_write_hw (T pin, bool value)=0 |
void | reset_pin_cache_ () |
Protected Attributes | |
std::array< bool, N > | read_cache_invalidated_ {} |
A class to cache the read state of a GPIO expander.
Definition at line 11 of file cached_gpio.h.
|
inline |
Definition at line 13 of file cached_gpio.h.
|
protectedpure virtual |
Implemented in esphome::tca9555::TCA9555Component.
|
protectedpure virtual |
Implemented in esphome::tca9555::TCA9555Component.
|
inline |
Definition at line 21 of file cached_gpio.h.
|
protectedpure virtual |
Implemented in esphome::tca9555::TCA9555Component.
|
inlineprotected |
Definition at line 28 of file cached_gpio.h.
|
protected |
Definition at line 34 of file cached_gpio.h.