Default configuration for STMPE811. More...
Default configuration for STMPE811.
Definition in file stmpe811_params.h.
#include "kernel_defines.h"#include "board.h"#include "stmpe811.h"#include "stmpe811_constants.h"
Include dependency graph for stmpe811_params.h:Go to the source code of this file.
Macros | |
| #define | STMPE811_PARAM_SCREEN_IDS 0 |
| Default screen identifiers. | |
Variables | |
| static const stmpe811_params_t | stmpe811_params [] |
| Configure STMPE811. More... | |
| static const uint8_t | stmpe811_screen_ids [] |
| Configure screen identifiers. More... | |
Set default configuration parameters for the STMPE811 | |
These default values are adapted for the STM32F429I-DISC1 board | |
| #define | STMPE811_PARAM_I2C_DEV I2C_DEV(0) |
| #define | STMPE811_PARAM_ADDR (STMPE811_I2C_ADDR_DEFAULT) |
| #define | STMPE811_PARAM_INT_PIN GPIO_PIN(0, 15) |
| #define | STMPE811_PARAM_XMAX (320U) |
| #define | STMPE811_PARAM_YMAX (240U) |
| #define | STMPE811_PARAM_XYCONV (STMPE811_MIRROR_X | STMPE811_MIRROR_Y | STMPE811_SWAP_XY) |
| #define | STMPE811_PARAMS |
| #define STMPE811_PARAMS |
Definition at line 81 of file stmpe811_params.h.
|
static |
Configure STMPE811.
Definition at line 95 of file stmpe811_params.h.
|
static |
Configure screen identifiers.
Definition at line 110 of file stmpe811_params.h.