EPD_10in2g.h 1023 B

123456789101112131415161718192021222324252627282930313233
  1. /*****************************************************************************
  2. * | File : EPD_10in2g.h
  3. * | Author : Waveshare team
  4. * | Function : 10.2inch e-paper (G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2024-08-07
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_10IN2G_H_
  13. #define __EPD_10IN2G_H_
  14. #include "DEV_Config.h"
  15. // Display resolution
  16. #define EPD_10IN2G_WIDTH 960
  17. #define EPD_10IN2G_HEIGHT 640
  18. // Color
  19. #define EPD_10IN2G_BLACK 0x0
  20. #define EPD_10IN2G_WHITE 0x1
  21. #define EPD_10IN2G_YELLOW 0x2
  22. #define EPD_10IN2G_RED 0x3
  23. void EPD_10IN2G_Init(void);
  24. void EPD_10IN2G_Clear(UBYTE color);
  25. void EPD_10IN2G_Display(const UBYTE *Image);
  26. void EPD_10IN2G_DisplayPart(const UBYTE *Image, UWORD xstart, UWORD ystart, UWORD image_width, UWORD image_heigh);
  27. void EPD_10IN2G_Sleep(void);
  28. #endif