ili9341_params.h File Reference

Default configuration for ili9341. More...

Detailed Description

Default configuration for ili9341.

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

Definition in file ili9341_params.h.

#include "board.h"
+ Include dependency graph for ili9341_params.h:

Go to the source code of this file.

Variables

static const ili9341_params_t ili9341_params []
 Configure ILI9341. More...
 

Set default configuration parameters for the ILI9341

#define ILI9341_PARAM_SPI   SPI_DEV(0)
 
#define ILI9341_PARAM_SPI_CLK   SPI_CLK_5MHZ
 
#define ILI9341_PARAM_CS   GPIO_PIN(2, 2)
 
#define ILI9341_PARAM_DCX   GPIO_PIN(3, 13)
 
#define ILI9341_PARAM_RST   GPIO_UNDEF
 
#define ILI9341_PARAM_SPI_MODE   SPI_MODE_0
 
#define ILI9341_PARAM_RGB   0
 
#define ILI9341_PARAM_INVERTED   0
 
#define ILI9341_PARAM_NUM_LINES   320U
 
#define ILI9341_PARAMS
 

Macro Definition Documentation

◆ ILI9341_PARAMS

#define ILI9341_PARAMS
Value:
{ .spi = ILI9341_PARAM_SPI, \
.spi_clk = ILI9341_PARAM_SPI_CLK, \
.spi_mode = ILI9341_PARAM_SPI_MODE, \
.cs_pin = ILI9341_PARAM_CS, \
.dcx_pin = ILI9341_PARAM_DCX, \
.rst_pin = ILI9341_PARAM_RST, \
.rgb = ILI9341_PARAM_RGB, \
.inverted = ILI9341_PARAM_INVERTED, \
.lines = ILI9341_PARAM_NUM_LINES, \
}

Definition at line 63 of file ili9341_params.h.

Variable Documentation

◆ ili9341_params

const ili9341_params_t ili9341_params[]
static
Initial value:
=
{
ILI9341_PARAMS,
}

Configure ILI9341.

Definition at line 79 of file ili9341_params.h.