tftspi.h 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. /***************************************************************************//**
  2. * @file tftspi.h
  3. * @brief Stub functions of EFM32 LCD driver
  4. * COPYRIGHT (C) 2012, RT-Thread Development Team
  5. * @author onelife
  6. * @version 1.0
  7. *******************************************************************************
  8. * @section License
  9. * The license and distribution terms for this file may be found in the file
  10. * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE
  11. *******************************************************************************
  12. * @section Change Logs
  13. * Date Author Notes
  14. * 2011-12-20 onelife Initial creation for EFM32
  15. ******************************************************************************/
  16. #ifndef __TFTSPI_H__
  17. #define __TFTSPI_H__
  18. #include <rtthread.h>
  19. /* Includes ------------------------------------------------------------------*/
  20. /* Exported types ------------------------------------------------------------*/
  21. /* Exported constants --------------------------------------------------------*/
  22. /* Exported macro ------------------------------------------------------------*/
  23. #define SPI_TFT_Init()
  24. #define SPI_TFT_WriteRegister(reg, data) efm32_spiLcd_writeRegister(reg, data)
  25. /* Exported functions ------------------------------------------------------- */
  26. extern rt_err_t efm32_spiLcd_writeRegister(rt_uint8_t reg, rt_uint16_t data);
  27. #endif /* __TFTSPI_H__ */