rt-thread/bsp/efm32/dev_lcd.h

30 lines
1.3 KiB
C
Raw Normal View History

/***************************************************************************//**
* @file dev_lcd.h
* @brief LCD driver of RT-Thread RTOS for EFM32
* 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-16 onelife Initial creation for EFM32
******************************************************************************/
#ifndef __DEV_LCD_H__
#define __DEV_LCD_H__
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
#define EFM32_LCD_SPICLK (1000000)
#define SPI_TFT_WriteRegister efm32_spiLed_writeRegister
/* Exported functions ------------------------------------------------------- */
void efm32_spiLcd_init(void);
#endif /* __DEV_LCD_H__ */