tftspi.h 895 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2011-12-20 onelife Initial creation for EFM32
  9. */
  10. #ifndef __TFTSPI_H__
  11. #define __TFTSPI_H__
  12. #include <rtthread.h>
  13. /* Includes ------------------------------------------------------------------*/
  14. /* Exported types ------------------------------------------------------------*/
  15. /* Exported constants --------------------------------------------------------*/
  16. /* Exported macro ------------------------------------------------------------*/
  17. #define SPI_TFT_Init()
  18. #define SPI_TFT_WriteRegister(reg, data) efm32_spiLcd_writeRegister(reg, data)
  19. /* Exported functions ------------------------------------------------------- */
  20. extern rt_err_t efm32_spiLcd_writeRegister(rt_uint8_t reg, rt_uint16_t data);
  21. #endif /* __TFTSPI_H__ */