32#include "../SensorBuildOpt.h"
33#if !SENSORLIB_EXCLUDE_TOUCH_CHSC5816
37static constexpr uint8_t CHSC5816_SLAVE_ADDRESS = (0x2E);
61 void sleep()
override;
79 bool initImpl(uint8_t)
override;
static constexpr uint32_t REG_BOOT_STATE
static constexpr uint8_t COMMAND_SIZE
const char * getModelName() override
Get the model name.
static constexpr uint8_t POINT_BUFFER_SIZE
static constexpr uint8_t BYTES_PER_POINT
static constexpr uint32_t REG_IMG_HEAD
static constexpr uint32_t REG_POINT_EVENT
static constexpr uint8_t MAX_FINGER_NUM
static constexpr uint32_t REG_POINT
TouchDrvCHSC5816()=default
Constructor for the touch driver.
const TouchPoints & getTouchPoints() override
Get the touch points.
void sleep() override
Puts the touch driver to sleep.
~TouchDrvCHSC5816()=default
Destructor for the touch driver.
Abstract base class for touch screen drivers.
Container for touch point data and optional gesture information.