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"
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. | |
static const uint8_t | stmpe811_screen_ids [] |
Configure screen identifiers. | |
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_PARAM_ADDR (STMPE811_I2C_ADDR_DEFAULT) |
Definition at line 54 of file stmpe811_params.h.
#define STMPE811_PARAM_I2C_DEV I2C_DEV(0) |
Definition at line 51 of file stmpe811_params.h.
#define STMPE811_PARAM_INT_PIN GPIO_PIN(0, 15) |
Definition at line 59 of file stmpe811_params.h.
#define STMPE811_PARAM_SCREEN_IDS 0 |
Default screen identifiers.
Definition at line 105 of file stmpe811_params.h.
#define STMPE811_PARAM_XMAX (320U) |
Definition at line 62 of file stmpe811_params.h.
#define STMPE811_PARAM_XYCONV (STMPE811_MIRROR_X | STMPE811_MIRROR_Y | STMPE811_SWAP_XY) |
Definition at line 68 of file stmpe811_params.h.
#define STMPE811_PARAM_YMAX (240U) |
Definition at line 65 of file stmpe811_params.h.
#define STMPE811_PARAMS |
Definition at line 82 of file stmpe811_params.h.
|
static |
Configure STMPE811.
Definition at line 96 of file stmpe811_params.h.
|
static |
Configure screen identifiers.
Definition at line 111 of file stmpe811_params.h.