lcd_demo.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*================================================================
  2. Copyright (c) 2021, Quectel Wireless Solutions Co., Ltd. All rights reserved.
  3. Quectel Wireless Solutions Proprietary and Confidential.
  4. =================================================================*/
  5. /*=================================================================
  6. EDIT HISTORY FOR MODULE
  7. This section contains comments describing changes made to the module.
  8. Notice that changes are listed in reverse chronological order.
  9. WHEN WHO WHAT, WHERE, WHY
  10. ------------ ------- -------------------------------------------------------------------------------
  11. =================================================================*/
  12. #ifndef _LCDDEMO_H
  13. #define _LCDDEMO_H
  14. #include "ql_lcd.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. /*===========================================================================
  19. * Macro Definition
  20. ===========================================================================*/
  21. #define LCD_RED 0xf800
  22. #define LCD_GREEN 0x07e0
  23. #define LCD_BLUE 0x001f
  24. #define LCD_WHITE 0xffff
  25. #define LCD_BLACK 0x0000
  26. #define LCD_YELLOW 0xffe0
  27. #define LCD_PURPLE 0xf81f
  28. /*===========================================================================
  29. * Struct
  30. ===========================================================================*/
  31. /*===========================================================================
  32. * Functions declaration
  33. ===========================================================================*/
  34. void ql_lcd_app_init(void);
  35. #ifdef __cplusplus
  36. } /*"C" */
  37. #endif
  38. #endif /* _LCDDEMO_H */