HX8347A display controller configuration for the HX8347A example.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <board.h>
Macros | |
#define | CONF_HX8347A_BACKLIGHT_PIN DISPLAY_XPLAINED_BACKLIGHT |
Define what MCU pin the HX8347A back light pin is connected to. More... | |
#define | CONF_HX8347A_CLOCK_SPEED 8000000UL |
Select a SPI clock speed. More... | |
#define | CONF_HX8347A_CS_PIN DISPLAY_XPLAINED_CS |
Define what MCU pin the HX8347A chip select pin is connected to. More... | |
#define | CONF_HX8347A_RESET_PIN DISPLAY_XPLAINED_RESET |
Define what MCU pin the HX8347A reset is connected to. More... | |
#define | CONF_HX8347A_TE_PIN DISPLAY_XPLAINED_TE |
Define what MCU pin the HX8347A TE pin is connected to. More... | |
#define | CONF_HX8347A_USART_SPI DISPLAY_XPLAINED_USART_SPI |
Select the correct hardware interface. More... | |
#define CONF_HX8347A_BACKLIGHT_PIN DISPLAY_XPLAINED_BACKLIGHT |
Define what MCU pin the HX8347A back light pin is connected to.
Referenced by hx8347a_backlight_off(), and hx8347a_backlight_on().
#define CONF_HX8347A_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.
Referenced by hx8347a_interface_init().
#define CONF_HX8347A_CS_PIN DISPLAY_XPLAINED_CS |
Define what MCU pin the HX8347A chip select pin is connected to.
Referenced by hx8347a_deselect_chip(), hx8347a_interface_init(), and hx8347a_select_chip().
#define CONF_HX8347A_RESET_PIN DISPLAY_XPLAINED_RESET |
Define what MCU pin the HX8347A reset is connected to.
Referenced by hx8347a_reset_display().
#define CONF_HX8347A_TE_PIN DISPLAY_XPLAINED_TE |
Define what MCU pin the HX8347A TE pin is connected to.
#define CONF_HX8347A_USART_SPI DISPLAY_XPLAINED_USART_SPI |
Select the correct hardware interface.
Currently supported interfaces are the SPI interface and the USART Master SPI interface.
Referenced by hx8347a_interface_init(), hx8347a_read_byte(), hx8347a_send_byte(), and hx8347a_write_packet().