Microchip® Advanced Software Framework

conf_ili9341.h File Reference

ILI9341 display controller configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <board.h>

Macros

#define CONF_ILI9341_BACKLIGHT_PIN   MXT143E_XPLAINED_BACKLIGHT
 Define what MCU pin the ILI9341 back light pin is connected to. More...
 
#define CONF_ILI9341_CLOCK_SPEED   8000000UL
 Select a SPI clock speed. More...
 
#define CONF_ILI9341_CS_PIN   MXT143E_XPLAINED_CS
 Define what MCU pin the ILI9341 chip select pin is connected to. More...
 
#define CONF_ILI9341_DC_PIN   MXT143E_XPLAINED_DC
 Define what MCU pin the ILI9341 DC pin is connected to. More...
 
#define CONF_ILI9341_RESET_PIN   MXT143E_XPLAINED_LCD_RESET
 Define what MCU pin the ILI9341 reset is connected to. More...
 
#define CONF_ILI9341_SPI   MXT143E_XPLAINED_SPI
 Select the correct hardware interface. More...
 

#define CONF_ILI9341_BACKLIGHT_PIN   MXT143E_XPLAINED_BACKLIGHT

Define what MCU pin the ILI9341 back light pin is connected to.

Referenced by ili9341_backlight_off(), and ili9341_backlight_on().

#define CONF_ILI9341_CLOCK_SPEED   8000000UL

Select a SPI clock speed.

This selects the clock speed for the SPI clock used to communicate with the display controller. Higher clock speeds allow for higher frame rates.

Note
That the clock speed may be limited by the speed of the microcontroller a normal limitation would be CPUclk/2. For more details please refer to the device datasheet.

Referenced by ili9341_interface_init().

#define CONF_ILI9341_CS_PIN   MXT143E_XPLAINED_CS

Define what MCU pin the ILI9341 chip select pin is connected to.

Referenced by ili9341_deselect_chip(), and ili9341_select_chip().

#define CONF_ILI9341_DC_PIN   MXT143E_XPLAINED_DC

Define what MCU pin the ILI9341 DC pin is connected to.

Referenced by ili9341_select_command_mode(), and ili9341_select_data_mode().

#define CONF_ILI9341_RESET_PIN   MXT143E_XPLAINED_LCD_RESET

Define what MCU pin the ILI9341 reset is connected to.

Referenced by ili9341_reset_display().

#define CONF_ILI9341_SPI   MXT143E_XPLAINED_SPI

Select the correct hardware interface.

Currently supported interfaces are the SPI interface and the USART Master SPI interface.

Referenced by ili9341_copy_pixels_to_screen(), ili9341_duplicate_pixel(), ili9341_interface_init(), ili9341_read_byte(), ili9341_send_byte(), and ili9341_wait_for_send_done().