Loading...
Searching...
No Matches

Default configuration. More...

Detailed Description

Default configuration.

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

Definition in file ft5x06_params.h.

#include <stdint.h>
#include "board.h"
#include "ft5x06.h"
#include "ft5x06_constants.h"
+ Include dependency graph for ft5x06_params.h:

Go to the source code of this file.

Macros

#define FT5X06_PARAM_SCREEN_IDS   0
 Default screen identifiers.
 

Variables

static const ft5x06_params_t ft5x06_params []
 Configuration struct.
 
static const uint8_t ft5x06_screen_ids []
 Configure screen identifiers.
 

Set default configuration parameters

#define FT5X06_PARAM_I2C_DEV   I2C_DEV(0)
 
#define FT5X06_PARAM_ADDR   (FT5X06_I2C_DEFAULT_ADDRESS)
 
#define FT5X06_PARAM_INT_PIN   GPIO_UNDEF
 
#define FT5X06_PARAM_XMAX   (480U)
 
#define FT5X06_PARAM_YMAX   (272U)
 
#define FT5X06_PARAM_XYCONV   FT5X06_SWAP_XY
 
#define FT5X06_PARAM_TYPE   FT5X06_TYPE_FT5336
 
#define FT5X06_PARAMS
 

Macro Definition Documentation

◆ FT5X06_PARAM_ADDR

#define FT5X06_PARAM_ADDR   (FT5X06_I2C_DEFAULT_ADDRESS)

Definition at line 41 of file ft5x06_params.h.

◆ FT5X06_PARAM_I2C_DEV

#define FT5X06_PARAM_I2C_DEV   I2C_DEV(0)

Definition at line 38 of file ft5x06_params.h.

◆ FT5X06_PARAM_INT_PIN

#define FT5X06_PARAM_INT_PIN   GPIO_UNDEF

Definition at line 44 of file ft5x06_params.h.

◆ FT5X06_PARAM_SCREEN_IDS

#define FT5X06_PARAM_SCREEN_IDS   0

Default screen identifiers.

Definition at line 82 of file ft5x06_params.h.

◆ FT5X06_PARAM_TYPE

#define FT5X06_PARAM_TYPE   FT5X06_TYPE_FT5336

Definition at line 56 of file ft5x06_params.h.

◆ FT5X06_PARAM_XMAX

#define FT5X06_PARAM_XMAX   (480U)

Definition at line 47 of file ft5x06_params.h.

◆ FT5X06_PARAM_XYCONV

#define FT5X06_PARAM_XYCONV   FT5X06_SWAP_XY

Definition at line 53 of file ft5x06_params.h.

◆ FT5X06_PARAM_YMAX

#define FT5X06_PARAM_YMAX   (272U)

Definition at line 50 of file ft5x06_params.h.

◆ FT5X06_PARAMS

#define FT5X06_PARAMS
Value:
{ \
.addr = FT5X06_PARAM_ADDR, \
.int_pin = FT5X06_PARAM_INT_PIN, \
.xmax = FT5X06_PARAM_XMAX, \
.ymax = FT5X06_PARAM_YMAX, \
.xyconv = FT5X06_PARAM_XYCONV, \
}
#define FT5X06_PARAM_XYCONV
Swap XY, then mirror Y.
Definition board.h:126
#define FT5X06_PARAM_XMAX
Max width.
Definition board.h:123
#define FT5X06_PARAM_I2C_DEV
I2C device.
Definition board.h:120
#define FT5X06_PARAM_YMAX
Max height.
Definition board.h:124
#define FT5X06_PARAM_TYPE
Device type.
Definition board.h:125
#define FT5X06_PARAM_INT_PIN
Interrupt pin.
Definition board.h:121

Definition at line 59 of file ft5x06_params.h.

Variable Documentation

◆ ft5x06_params

const ft5x06_params_t ft5x06_params[]
static
Initial value:
=
{
FT5X06_PARAMS
}

Configuration struct.

Definition at line 73 of file ft5x06_params.h.

◆ ft5x06_screen_ids

const uint8_t ft5x06_screen_ids[]
static
Initial value:
=
{
}
#define FT5X06_PARAM_SCREEN_IDS
Default screen identifiers.

Configure screen identifiers.

Definition at line 88 of file ft5x06_params.h.