fbdev.h 915 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**
  2. * @file fbdev.h
  3. *
  4. */
  5. #ifndef FBDEV_H
  6. #define FBDEV_H
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. /*********************
  11. * INCLUDES
  12. *********************/
  13. #include "../../lv_drv_conf.h"
  14. #if USE_FBDEV
  15. #include <stdint.h>
  16. #include "lvgl/lv_misc/lv_color.h"
  17. /*********************
  18. * DEFINES
  19. *********************/
  20. /**********************
  21. * TYPEDEFS
  22. **********************/
  23. /**********************
  24. * GLOBAL PROTOTYPES
  25. **********************/
  26. void fbdev_init(void);
  27. void fbdev_flush(int32_t x1, int32_t y1, int32_t x2, int32_t y2, const lv_color_t * color_p);
  28. void fbdev_fill(int32_t x1, int32_t y1, int32_t x2, int32_t y2, lv_color_t color);
  29. void fbdev_map(int32_t x1, int32_t y1, int32_t x2, int32_t y2, const lv_color_t * color_p);
  30. /**********************
  31. * MACROS
  32. **********************/
  33. #endif /*USE_FBDEV*/
  34. #ifdef __cplusplus
  35. } /* extern "C" */
  36. #endif
  37. #endif /*FBDEV_H*/