summaryrefslogtreecommitdiff
path: root/bsp/efm32/graphics/tftspi.h
blob: 27e8ce807885c140c7da39ae598aba5d5855c3b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/***************************************************************************//**
 * @file    tftspi.h
 * @brief   Stub functions of EFM32 LCD driver
 *  COPYRIGHT (C) 2012, RT-Thread Development Team
 * @author  onelife
 * @version 1.0
 *******************************************************************************
 * @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__

#include <rtthread.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__ */