dev_lcd.h 1.3 KB

1234567891011121314151617181920212223242526272829
  1. /***************************************************************************//**
  2. * @file dev_lcd.h
  3. * @brief LCD driver of RT-Thread RTOS for EFM32
  4. * COPYRIGHT (C) 2011, RT-Thread Development Team
  5. * @author onelife
  6. * @version 0.4 beta
  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-16 onelife Initial creation for EFM32
  15. ******************************************************************************/
  16. #ifndef __DEV_LCD_H__
  17. #define __DEV_LCD_H__
  18. /* Includes ------------------------------------------------------------------*/
  19. /* Exported types ------------------------------------------------------------*/
  20. /* Exported constants --------------------------------------------------------*/
  21. /* Exported macro ------------------------------------------------------------*/
  22. #define EFM32_LCD_SPICLK (1000000)
  23. #define SPI_TFT_WriteRegister efm32_spiLed_writeRegister
  24. /* Exported functions ------------------------------------------------------- */
  25. void efm32_spiLcd_init(void);
  26. #endif /* __DEV_LCD_H__ */