drv_dc.h 684 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Email: opensource_embedded@phytium.com.cn
  7. *
  8. * Change Logs:
  9. * Date Author Notes
  10. * 2023-11-7 wangzongqiang first version
  11. *
  12. */
  13. #ifndef __DRV_DC_H__
  14. #define __DRV_DC_H__
  15. #include <rtdevice.h>
  16. #ifdef __cplusplus
  17. extern "C"
  18. {
  19. #endif
  20. #define FB_XSIZE 1024
  21. #define FB_YSIZE 768
  22. #define DISPLAY_COLOR_DEPTH 32
  23. #define DISPLAY_REFRESH_RATE_60 60
  24. #define DISPLAY_REFRESH_RATE_59 59
  25. #define DISPLAY_REFRESH_RATE_40 40
  26. #define DISPLAY_REFRESH_RATE_30 30
  27. int rt_hw_dc_init(void);
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* __DRV_DC_H__ */