34#ifndef CST816S_PARAM_I2C_DEV
35#define CST816S_PARAM_I2C_DEV I2C_DEV(0)
38#ifndef CST816S_PARAM_I2C_ADDR
39#define CST816S_PARAM_I2C_ADDR (0x15)
42#ifndef CST816S_PARAM_IRQ
43#define CST816S_PARAM_IRQ GPIO_PIN(0, 28)
46#ifndef CST816S_PARAM_IRQ_FLANK
47#define CST816S_PARAM_IRQ_FLANK GPIO_FALLING
50#ifndef CST816S_PARAM_RESET
51#define CST816S_PARAM_RESET GPIO_PIN(0, 10)
54#define CST816S_PARAMS \
56 .i2c_dev = CST816S_PARAM_I2C_DEV, \
57 .i2c_addr = CST816S_PARAM_I2C_ADDR, \
58 .irq = CST816S_PARAM_IRQ, \
59 .irq_flank = CST816S_PARAM_IRQ_FLANK, \
60 .reset = CST816S_PARAM_RESET, \
75#define CST816S_NUMOF ARRAY_SIZE(cst816s_params)
80#ifndef CST816S_PARAM_SCREEN_IDS
81#define CST816S_PARAM_SCREEN_IDS 0
Device driver interface for the CST816S touch screen.
#define CST816S_PARAM_SCREEN_IDS
Default screen identifiers.
static const cst816s_params_t cst816s_params[]
Configure CST816S.
static const uint8_t cst816s_screen_ids[]
Configure screen identifiers.