1 /* 2 * Copyright (c) 2006-2022, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2011-12-20 onelife Initial creation for EFM32 9 */ 10 11 #ifndef __TFTSPI_H__ 12 #define __TFTSPI_H__ 13 14 #include <rtthread.h> 15 16 /* Includes ------------------------------------------------------------------*/ 17 /* Exported types ------------------------------------------------------------*/ 18 /* Exported constants --------------------------------------------------------*/ 19 /* Exported macro ------------------------------------------------------------*/ 20 #define SPI_TFT_Init() 21 #define SPI_TFT_WriteRegister(reg, data) efm32_spiLcd_writeRegister(reg, data) 22 23 /* Exported functions ------------------------------------------------------- */ 24 extern rt_err_t efm32_spiLcd_writeRegister(rt_uint8_t reg, rt_uint16_t data); 25 26 #endif /* __TFTSPI_H__ */ 27