12static const uint8_t CST226_REG_STATUS = 0x00;
21 void setup()
override;
31 bool read16_(uint16_t addr, uint8_t *data,
size_t len);
void set_reset_pin(GPIOPin *pin)
bool can_proceed() override
void dump_config() override
void update_button_state_(bool state)
std::vector< CST226ButtonListener * > button_listeners_
InternalGPIOPin * interrupt_pin_
void update_touches() override
bool read16_(uint16_t addr, uint8_t *data, size_t len)
void set_interrupt_pin(InternalGPIOPin *pin)
void register_button_listener(CST226ButtonListener *listener)
This Class provides the methods to read/write bytes from/to an i2c device.
Providing packet encoding functions for exchanging data with a remote host.