Loading...
Searching...
No Matches
ILI9341 display driver

Driver for the ILI9341 display. More...

Detailed Description

Driver for the ILI9341 display.

Files

file  ili9341_internal.h
 Device driver implementation for the ili9341 display controller.
 
file  ili9341_params.h
 Default configuration for ili9341.
 
file  ili9341.h
 

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.
 

Macro Definition Documentation

◆ CONFIG_ILI9341_GVDD

#define CONFIG_ILI9341_GVDD   4800

ILI9341 gvdd level.

Default GVDD voltage of 4.8V. GVDD is reference level for the VCOM level and the grayscale voltage level. GVDD should be ≦ (AVDD - 0.5) V .

Definition at line 52 of file ili9341.h.

◆ CONFIG_ILI9341_VCOMH

#define CONFIG_ILI9341_VCOMH   4250

ILI9341 VCOMH voltage level.

Default VCOMH voltage of 4.25V. VCOMH represents the high level of VCOM AC voltage. VCOM levels needs to be adjusted to match the capacitance and performance specifications of the TFT panel to maximize contrast and minimize flickering.

Definition at line 64 of file ili9341.h.

◆ CONFIG_ILI9341_VCOML

#define CONFIG_ILI9341_VCOML   -2000

ILI9341 VCOML voltage level.

Default VCOML voltage of -2V. VCOML represents the low level of VCOM AC voltage. VCOM levels needs to be adjusted to match the capacitance and performance specifications of the TFT panel to maximize contrast and minimize flickering

Definition at line 76 of file ili9341.h.

◆ ILI9341_ROTATION_HORZ

#define ILI9341_ROTATION_HORZ   LCD_MADCTL_MV

Horizontal mode.

Definition at line 86 of file ili9341.h.

◆ ILI9341_ROTATION_HORZ_FLIP

#define ILI9341_ROTATION_HORZ_FLIP
Value:
#define LCD_MADCTL_MX
Column access order.
Definition lcd.h:78
#define LCD_MADCTL_MY
Row address order.
Definition lcd.h:77
#define LCD_MADCTL_MV
Row column exchange.
Definition lcd.h:79

Horizontal flipped.

Definition at line 89 of file ili9341.h.

◆ ILI9341_ROTATION_VERT

#define ILI9341_ROTATION_VERT   LCD_MADCTL_MX

Vertical mode.

Definition at line 84 of file ili9341.h.

◆ ILI9341_ROTATION_VERT_FLIP

#define ILI9341_ROTATION_VERT_FLIP   LCD_MADCTL_MY

Flipped vertical.

Definition at line 85 of file ili9341.h.