8 namespace gpio_expander {
29 for (T i = 0; i < N; i++) {
virtual bool digital_read_cache(T pin)=0
virtual void digital_write_hw(T pin, bool value)=0
void digital_write(T pin, bool value)
virtual bool digital_read_hw(T pin)=0
A class to cache the read state of a GPIO expander.
std::array< bool, N > read_cache_invalidated_
Implementation of SPI Controller mode.