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
Loading...
Searching...
No Matches
Adafruit_RA8875.cpp File Reference
#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.
 

Detailed Description

  • Author
    Limor Friend/Ladyada, K.Townsend/KTOWN for Adafruit Industries

Introduction

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!

Author

Written by Limor Fried/Ladyada for Adafruit Industries.

License

BSD license, check license.txt for more information. All text above must be included in any redistribution.

HISTORY

v1.0 - First release

Definition in file Adafruit_RA8875.cpp.

Macro Definition Documentation

◆ RA8875_DEBUG_PRINTF

#define RA8875_DEBUG_PRINTF ( ...)    ((void)0)

Diagnostics compiled out.

Definition at line 41 of file Adafruit_RA8875.cpp.

Referenced by Adafruit_RA8875::begin().

◆ RA8875_SPI_TIMEOUT_MS

#define RA8875_SPI_TIMEOUT_MS   100

SPI transfer timeout in milliseconds.

Definition at line 45 of file Adafruit_RA8875.cpp.

◆ spi_begin

#define spi_begin ( )

◆ spi_end

#define spi_end ( )

Function Documentation

◆ __attribute__()

__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.

Note
Default: APB2 for SPI1/4/5/6, APB1 otherwise (STM32F4/F7/L4/G4...); STM32H7 asks the RCC for the SPI kernel clock.

Definition at line 59 of file Adafruit_RA8875.cpp.