16 void setup()
override;
48 bool digital_read()
override;
50 std::string dump_summary()
const override;
52 void set_pin(uint16_t pin) { pin_ = pin; }
SN74HC165Component()=default
float get_setup_priority() const override
void set_data_pin(GPIOPin *pin)
void set_clock_pin(GPIOPin *pin)
std::vector< bool > input_bits_
bool digital_read_(uint16_t pin)
void set_load_pin(GPIOPin *pin)
void set_inverted(bool inverted)
void set_pin(uint16_t pin)
void dump_config() override
void digital_write(bool value) override
void set_clock_inhibit_pin(GPIOPin *pin)
void set_sr_count(uint8_t count)
Implementation of SPI Controller mode.
GPIOPin * clock_inhibit_pin_
Helper class to expose a SC74HC165 pin as an internal input GPIO pin.
Helper class to easily give an object a parent of type T.
void pin_mode(gpio::Flags flags) override