Default configuration for the CST816S touch screen driver. More...
Default configuration for the CST816S touch screen driver.
Definition in file cst816s_params.h.
Go to the source code of this file.
Macros | |
#define | CST816S_NUMOF ARRAY_SIZE(cst816s_params) |
The number of configured sensors. | |
#define | CST816S_PARAM_SCREEN_IDS 0 |
Default screen identifiers. | |
Variables | |
static const cst816s_params_t | cst816s_params [] |
Configure CST816S. | |
static const uint8_t | cst816s_screen_ids [] |
Configure screen identifiers. | |
Set default configuration parameters for the CST816S | |
#define | CST816S_PARAM_I2C_DEV I2C_DEV(0) |
#define | CST816S_PARAM_I2C_ADDR (0x15) |
#define | CST816S_PARAM_IRQ GPIO_PIN(0, 28) |
#define | CST816S_PARAM_IRQ_FLANK GPIO_FALLING |
#define | CST816S_PARAM_RESET GPIO_PIN(0, 10) |
#define | CST816S_PARAMS |
#define CST816S_NUMOF ARRAY_SIZE(cst816s_params) |
The number of configured sensors.
Definition at line 76 of file cst816s_params.h.
#define CST816S_PARAM_I2C_ADDR (0x15) |
Definition at line 40 of file cst816s_params.h.
#define CST816S_PARAM_I2C_DEV I2C_DEV(0) |
Definition at line 36 of file cst816s_params.h.
#define CST816S_PARAM_IRQ GPIO_PIN(0, 28) |
Definition at line 44 of file cst816s_params.h.
#define CST816S_PARAM_IRQ_FLANK GPIO_FALLING |
Definition at line 48 of file cst816s_params.h.
#define CST816S_PARAM_RESET GPIO_PIN(0, 10) |
Definition at line 52 of file cst816s_params.h.
#define CST816S_PARAM_SCREEN_IDS 0 |
Default screen identifiers.
Definition at line 82 of file cst816s_params.h.
#define CST816S_PARAMS |
Definition at line 55 of file cst816s_params.h.
|
static |
Configure CST816S.
Definition at line 68 of file cst816s_params.h.
|
static |
Configure screen identifiers.
Definition at line 88 of file cst816s_params.h.