|
F439_CPP_SPI_RA8875_TFT_LCD_03 1.0
STM32F439 SPI RA8875 7-inch TFT display demo built on the STM32_GFX and STM32_RA8875 libraries
|
#include "Adafruit_RA8875.h"Go to the source code of this file.
Macros | |
| #define | RA8875_DEBUG_PRINTF(...) ((void)0) |
| Diagnostics compiled out. | |
| #define | RA8875_SPI_TIMEOUT_MS 100 |
| SPI transfer timeout in milliseconds. | |
| #define | spi_begin() |
| Not needed on STM32. | |
| #define | spi_end() |
| Not needed on STM32. | |
Functions | |
| __attribute__ ((weak)) uint32_t Adafruit_RA8875_GetSpiClockHz(SPI_HandleTypeDef *hspi) | |
| Frequency of the clock feeding an SPI peripheral (before the baud prescaler). Weak: override it in your project if the default does not match your MCU family/clock tree. | |
This is the library for the Adafruit RA8875 Driver board for TFT displays ---------------> http://www.adafruit.com/products/1590 The RA8875 is a TFT driver for up to 800x480 dotclock'd displays It is tested to work with displays in the Adafruit shop. Other displays may need timing adjustments and are not guanteed to work.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, check license.txt for more information. All text above must be included in any redistribution.
v1.0 - First release
Definition in file Adafruit_RA8875.cpp.
| #define RA8875_DEBUG_PRINTF | ( | ... | ) | ((void)0) |
Diagnostics compiled out.
Definition at line 41 of file Adafruit_RA8875.cpp.
Referenced by Adafruit_RA8875::begin().
| #define RA8875_SPI_TIMEOUT_MS 100 |
SPI transfer timeout in milliseconds.
Definition at line 45 of file Adafruit_RA8875.cpp.
| #define spi_begin | ( | ) |
Not needed on STM32.
Definition at line 49 of file Adafruit_RA8875.cpp.
Referenced by Adafruit_RA8875::readData(), Adafruit_RA8875::readStatus(), Adafruit_RA8875::writeCommand(), and Adafruit_RA8875::writeData().
| #define spi_end | ( | ) |
Not needed on STM32.
Definition at line 50 of file Adafruit_RA8875.cpp.
Referenced by Adafruit_RA8875::readData(), Adafruit_RA8875::readStatus(), Adafruit_RA8875::writeCommand(), and Adafruit_RA8875::writeData().
| __attribute__ | ( | (weak) | ) |
Frequency of the clock feeding an SPI peripheral (before the baud prescaler). Weak: override it in your project if the default does not match your MCU family/clock tree.
Definition at line 59 of file Adafruit_RA8875.cpp.