stmpe811_params.h File Reference

Default configuration for STMPE811. More...

Detailed Description

Default configuration for STMPE811.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file stmpe811_params.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.

Variables

static const stmpe811_params_t stmpe811_params []
 Configure STMPE811. 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   (240U)
 
#define STMPE811_PARAM_YMAX   (320U)
 
#define STMPE811_PARAMS
 

Macro Definition Documentation

◆ STMPE811_PARAMS

#define STMPE811_PARAMS
Value:
{ .i2c = STMPE811_PARAM_I2C_DEV, \
.addr = STMPE811_PARAM_ADDR, \
.int_pin = STMPE811_PARAM_INT_PIN, \
.xmax = STMPE811_PARAM_XMAX, \
.ymax = STMPE811_PARAM_YMAX, \
}

Definition at line 53 of file stmpe811_params.h.

Variable Documentation

◆ stmpe811_params

const stmpe811_params_t stmpe811_params[]
static
Initial value:
=
{
STMPE811_PARAMS
}

Configure STMPE811.

Definition at line 65 of file stmpe811_params.h.