3c3353ee18
1. Add keys and joystick driver 2. Add direct drive (frame buffer) method support in LCD driver git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1973 bbd45198-f89e-11dd-88c7-29a3b14d5316
30 lines
1.4 KiB
C
30 lines
1.4 KiB
C
/***************************************************************************//**
|
|
* @file tftspi.h
|
|
* @brief Stub functions of EFM32 LCD driver
|
|
* COPYRIGHT (C) 2011, RT-Thread Development Team
|
|
* @author onelife
|
|
* @version 0.4 beta
|
|
*******************************************************************************
|
|
* @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
|
|
* Date Author Notes
|
|
* 2011-12-20 onelife Initial creation for EFM32
|
|
******************************************************************************/
|
|
#ifndef __TFTSPI_H__
|
|
#define __TFTSPI_H__
|
|
|
|
/* 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__ */
|