2019-04-22 16:03:03 +08:00
|
|
|
/*
|
2021-03-14 15:33:55 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2019-04-22 16:03:03 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2018-07-28 liu2guang the first version for STM32F469NI-Discovery.
|
|
|
|
*/
|
|
|
|
|
2021-03-14 15:33:55 +08:00
|
|
|
#ifndef __DRV_LCD_H_
|
|
|
|
#define __DRV_LCD_H_
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
2019-04-22 16:03:03 +08:00
|
|
|
#include <rtdevice.h>
|
2021-03-14 15:33:55 +08:00
|
|
|
#include <board.h>
|
2019-04-22 16:03:03 +08:00
|
|
|
|
2019-05-24 00:23:26 +08:00
|
|
|
#define LCD_WIDTH (800U)
|
|
|
|
#define LCD_HEIGHT (480U)
|
|
|
|
|
|
|
|
#define LCD_HSYNC (1U)
|
2021-03-14 15:33:55 +08:00
|
|
|
#define LCD_HBP (15U)
|
2019-05-24 00:23:26 +08:00
|
|
|
#define LCD_HFP (16U)
|
|
|
|
#define LCD_VSYNC (2U)
|
|
|
|
#define LCD_VBP (34U)
|
|
|
|
#define LCD_VFP (34U)
|
2019-04-22 16:03:03 +08:00
|
|
|
|
|
|
|
#endif
|