ili9341_params_t Struct Reference

Device initialization parameters. More...

Detailed Description

Device initialization parameters.

Definition at line 93 of file ili9341.h.

#include <ili9341.h>

Data Fields

spi_t spi
 SPI device that the display is connected to.
 
spi_clk_t spi_clk
 SPI clock speed to use.
 
spi_mode_t spi_mode
 SPI mode.
 
gpio_t cs_pin
 pin connected to the CHIP SELECT line
 
gpio_t dcx_pin
 pin connected to the DC line
 
gpio_t rst_pin
 pin connected to the reset line
 
bool rgb
 True when display is connected in RGB mode False when display is connected in BGR mode.
 
bool inverted
 Display works in inverted color mode.
 
uint16_t lines
 Number of lines, from 16 to 320 in 8 line steps.
 

The documentation for this struct was generated from the following file: