Loading...
Searching...
No Matches

Detailed Description

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

The ILI9341 is a generic display driver for small RGB displays. The driver implemented here operates over SPI to communicate with the device.

The device requires colors to be send in big endian RGB-565 format. The CONFIG_LCD_LE_MODE compile time option can switch this, but only use this when strictly necessary. This option will slow down the driver as it certainly can't use DMA anymore, every short has to be converted before transfer.

Definition in file ili9341.h.

#include "lcd.h"
+ Include dependency graph for ili9341.h:

Go to the source code of this file.

Data Structures

struct  ili9341_t
 Device descriptor for a ili9341. More...
 

Macros

#define CONFIG_ILI9341_GVDD   4800
 ILI9341 gvdd level.
 
#define CONFIG_ILI9341_VCOMH   4250
 ILI9341 VCOMH voltage level.
 
#define CONFIG_ILI9341_VCOML   -2000
 ILI9341 VCOML voltage level.
 

Variables

const lcd_driver_t lcd_ili9341_driver
 LCD device operations table.
 

ILI9341 display rotation modes

#define ILI9341_ROTATION_VERT   LCD_MADCTL_MX
 Vertical mode.
 
#define ILI9341_ROTATION_VERT_FLIP   LCD_MADCTL_MY
 Flipped vertical.
 
#define ILI9341_ROTATION_HORZ   LCD_MADCTL_MV
 Horizontal mode.
 
#define ILI9341_ROTATION_HORZ_FLIP
 Horizontal flipped.