12static constexpr uint16_t ST7123_REG_STATUS = 0x0001;
13static constexpr uint16_t ST7123_REG_MAX_X = 0x0005;
14static constexpr uint16_t ST7123_REG_MAX_TOUCHES = 0x0009;
15static constexpr uint16_t ST7123_REG_ADV_TOUCH_INFO = 0x0010;
16static constexpr uint16_t ST7123_REG_TOUCH_DATA = 0x0014;
19static constexpr uint8_t ST7123_STATUS_INIT = 0x1;
22static constexpr uint8_t ST7123_TOUCH_STRIDE = 7;
24static constexpr uint8_t ST7123_TOUCH_VALID = 0x80;
26static constexpr uint8_t ST7123_COORD_HIGH_MASK = 0x3F;
28static constexpr uint8_t ST7123_MAX_TOUCHES = 10;
32 void setup()
override;
This Class provides the methods to read/write bytes from/to an i2c device.
void dump_config() override
void set_interrupt_pin(InternalGPIOPin *pin)
void update_touches() override
void set_reset_pin(GPIOPin *pin)
InternalGPIOPin * interrupt_pin_