ILI9341 display driver (with SPI DMA) for STM32F4 targets. Fork of https://os.mbed.com/users/beaglescout007/code/Nucleo_Ex06_EMU/file/3dac1f1bc9e0/TFT/. Added support for STM32F407 (Seeed Arch Max).

Dependents:   STM32F407VET6_Pong

spidma.h

Committer:
hudakz
Date:
2019-04-11
Revision:
0:5c2870105122

File content as of revision 0:5c2870105122:

/*===================================================================*/
/*                                                                   */
/*  spidma.h : SPI DMA function header                               */
/*                                                                   */
/*  2016/1/20  Racoon                                                */
/*                                                                   */
/*===================================================================*/

#ifndef SPIDMA_H_INCLUDED
#define SPIDMA_H_INCLUDED

#include "stm32f4xx_hal_spi.h"

void spi_init();
void spi_write(uint8_t data);
void spi_writew(uint16_t data);
void spi_write(uint8_t* pData, uint16_t size);

extern SPI_HandleTypeDef SpiHandle;

#endif