tftspi.h 1.4 KB

1234567891011121314151617181920212223242526272829
  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. /* Includes ------------------------------------------------------------------*/
  19. /* Exported types ------------------------------------------------------------*/
  20. /* Exported constants --------------------------------------------------------*/
  21. /* Exported macro ------------------------------------------------------------*/
  22. #define SPI_TFT_Init()
  23. #define SPI_TFT_WriteRegister(reg, data) efm32_spiLcd_writeRegister(reg, data)
  24. /* Exported functions ------------------------------------------------------- */
  25. extern rt_err_t efm32_spiLcd_writeRegister(rt_uint8_t reg, rt_uint16_t data);
  26. #endif /* __TFTSPI_H__ */