19#ifndef FT5X06_PARAMS_H
20#define FT5X06_PARAMS_H
37#ifndef FT5X06_PARAM_I2C_DEV
38#define FT5X06_PARAM_I2C_DEV I2C_DEV(0)
40#ifndef FT5X06_PARAM_ADDR
41#define FT5X06_PARAM_ADDR (FT5X06_I2C_DEFAULT_ADDRESS)
43#ifndef FT5X06_PARAM_INT_PIN
44#define FT5X06_PARAM_INT_PIN GPIO_UNDEF
46#ifndef FT5X06_PARAM_XMAX
47#define FT5X06_PARAM_XMAX (480U)
49#ifndef FT5X06_PARAM_YMAX
50#define FT5X06_PARAM_YMAX (272U)
52#ifndef FT5X06_PARAM_XYCONV
53#define FT5X06_PARAM_XYCONV FT5X06_SWAP_XY
55#ifndef FT5X06_PARAM_TYPE
56#define FT5X06_PARAM_TYPE FT5X06_TYPE_FT5336
59#define FT5X06_PARAMS { \
60 .i2c = FT5X06_PARAM_I2C_DEV, \
61 .addr = FT5X06_PARAM_ADDR, \
62 .int_pin = FT5X06_PARAM_INT_PIN, \
63 .xmax = FT5X06_PARAM_XMAX, \
64 .ymax = FT5X06_PARAM_YMAX, \
65 .xyconv = FT5X06_PARAM_XYCONV, \
66 .type = FT5X06_PARAM_TYPE \
81#ifndef FT5X06_PARAM_SCREEN_IDS
82#define FT5X06_PARAM_SCREEN_IDS 0
Internal register addresses, bitfields and constants.
#define FT5X06_PARAM_SCREEN_IDS
Default screen identifiers.
static const uint8_t ft5x06_screen_ids[]
Configure screen identifiers.
static const ft5x06_params_t ft5x06_params[]
Configuration struct.
Device initialization parameters.