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
00001 /*===================================================================*/ 00002 /* */ 00003 /* spidma.h : SPI DMA function header */ 00004 /* */ 00005 /* 2016/1/20 Racoon */ 00006 /* */ 00007 /*===================================================================*/ 00008 00009 #ifndef SPIDMA_H_INCLUDED 00010 #define SPIDMA_H_INCLUDED 00011 00012 #include "stm32f4xx_hal_spi.h" 00013 00014 void spi_init(); 00015 void spi_write(uint8_t data); 00016 void spi_writew(uint16_t data); 00017 void spi_write(uint8_t* pData, uint16_t size); 00018 00019 extern SPI_HandleTypeDef SpiHandle; 00020 00021 #endif 00022
Generated on Sat Jul 16 2022 06:08:34 by 1.7.2