31#ifndef CST816S_PARAM_I2C_DEV
32#define CST816S_PARAM_I2C_DEV I2C_DEV(0)
35#ifndef CST816S_PARAM_I2C_ADDR
36#define CST816S_PARAM_I2C_ADDR (0x15)
39#ifndef CST816S_PARAM_IRQ
40#define CST816S_PARAM_IRQ GPIO_PIN(0, 28)
43#ifndef CST816S_PARAM_IRQ_FLANK
44#define CST816S_PARAM_IRQ_FLANK GPIO_FALLING
47#ifndef CST816S_PARAM_RESET
48#define CST816S_PARAM_RESET GPIO_PIN(0, 10)
51#define CST816S_PARAMS \
53 .i2c_dev = CST816S_PARAM_I2C_DEV, \
54 .i2c_addr = CST816S_PARAM_I2C_ADDR, \
55 .irq = CST816S_PARAM_IRQ, \
56 .irq_flank = CST816S_PARAM_IRQ_FLANK, \
57 .reset = CST816S_PARAM_RESET, \
72#define CST816S_NUMOF ARRAY_SIZE(cst816s_params)
77#ifndef CST816S_PARAM_SCREEN_IDS
78#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.