lcd_port.h 581 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2018-07-28 liu2guang the first version for STM32F469NI-Discovery.
  9. */
  10. #ifndef __DRV_LCD_H_
  11. #define __DRV_LCD_H_
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. #include <board.h>
  15. #define LCD_WIDTH (800U)
  16. #define LCD_HEIGHT (480U)
  17. #define LCD_HSYNC (1U)
  18. #define LCD_HBP (15U)
  19. #define LCD_HFP (16U)
  20. #define LCD_VSYNC (2U)
  21. #define LCD_VBP (34U)
  22. #define LCD_VFP (34U)
  23. #endif