2012-02-20 12:35:01 +08:00
|
|
|
/***************************************************************************//**
|
2021-03-27 15:16:57 +08:00
|
|
|
* @file tftspi.h
|
|
|
|
* @brief Stub functions of EFM32 LCD driver
|
2012-05-18 12:40:40 +08:00
|
|
|
* COPYRIGHT (C) 2012, RT-Thread Development Team
|
2021-03-27 15:16:57 +08:00
|
|
|
* @author onelife
|
2012-05-18 12:40:40 +08:00
|
|
|
* @version 1.0
|
2012-02-20 12:35:01 +08:00
|
|
|
*******************************************************************************
|
|
|
|
* @section License
|
|
|
|
* The license and distribution terms for this file may be found in the file
|
|
|
|
* LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE
|
|
|
|
*******************************************************************************
|
|
|
|
* @section Change Logs
|
2021-03-27 15:16:57 +08:00
|
|
|
* Date Author Notes
|
2012-02-20 12:35:01 +08:00
|
|
|
* 2011-12-20 onelife Initial creation for EFM32
|
|
|
|
******************************************************************************/
|
|
|
|
#ifndef __TFTSPI_H__
|
|
|
|
#define __TFTSPI_H__
|
|
|
|
|
2017-11-01 12:51:50 +08:00
|
|
|
#include <rtthread.h>
|
|
|
|
|
2012-02-20 12:35:01 +08:00
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
|
|
/* Exported types ------------------------------------------------------------*/
|
|
|
|
/* Exported constants --------------------------------------------------------*/
|
|
|
|
/* Exported macro ------------------------------------------------------------*/
|
|
|
|
#define SPI_TFT_Init()
|
|
|
|
#define SPI_TFT_WriteRegister(reg, data) efm32_spiLcd_writeRegister(reg, data)
|
|
|
|
|
|
|
|
/* Exported functions ------------------------------------------------------- */
|
|
|
|
extern rt_err_t efm32_spiLcd_writeRegister(rt_uint8_t reg, rt_uint16_t data);
|
|
|
|
|
|
|
|
#endif /* __TFTSPI_H__ */
|