用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
836 B

5 months ago
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Email: opensource_embedded@phytium.com.cn
*
* Change Logs:
* Date Author Notes
* 2023-11-7 wangzongqiang first version
*
*/
#ifndef __DRV_DC_H__
#define __DRV_DC_H__
#include <rtdevice.h>
#include "fdcdp.h"
#ifdef __cplusplus
extern "C"
{
#endif
#define FB_XSIZE 1024
#define FB_YSIZE 768
#define DISPLAY_COLOR_DEPTH 32
#define DISPLAY_REFRESH_RATE_60 60
#define DISPLAY_REFRESH_RATE_59 59
#define DISPLAY_REFRESH_RATE_40 40
#define DISPLAY_REFRESH_RATE_30 30
int rt_hw_dc_init(void);
struct phytium_dc_bus
{
struct rt_device parent;
FDcDp dc_handle;/* data */
const char *name;
rt_uint32_t fdc_id;
};
#ifdef __cplusplus
}
#endif
#endif /* __DRV_DC_H__ */